From 36867384aad002932fc3f4edd59f097e72ab344a Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 8 May 2017 21:25:40 -0400 Subject: Adding a new project :smiley: --- AleeBrowser/AleeBrowser.csproj | 3 + AleeBrowser/Form1.Designer.cs | 143 ++++++++++++++++++++++++++++++++++++++++- AleeBrowser/Form1.cs | 29 ++++++++- AleeBrowser/Form1.resx | 123 +++++++++++++++++++++++++++++++++++ 4 files changed, 294 insertions(+), 4 deletions(-) create mode 100644 AleeBrowser/Form1.resx (limited to 'AleeBrowser') diff --git a/AleeBrowser/AleeBrowser.csproj b/AleeBrowser/AleeBrowser.csproj index 57bacff..70564b3 100644 --- a/AleeBrowser/AleeBrowser.csproj +++ b/AleeBrowser/AleeBrowser.csproj @@ -54,6 +54,9 @@ + + Form1.cs + ResXFileCodeGenerator Resources.Designer.cs diff --git a/AleeBrowser/Form1.Designer.cs b/AleeBrowser/Form1.Designer.cs index 10d6e7c..1264d65 100644 --- a/AleeBrowser/Form1.Designer.cs +++ b/AleeBrowser/Form1.Designer.cs @@ -28,12 +28,151 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.label1 = new System.Windows.Forms.Label(); + this.button3 = new System.Windows.Forms.Button(); + this.label2 = new System.Windows.Forms.Label(); + this.button4 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.webBrowser1 = new System.Windows.Forms.WebBrowser(); + this.button1 = new System.Windows.Forms.Button(); + this.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.statusStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // label1 + // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(766, 530); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(196, 13); + this.label1.TabIndex = 0; + this.label1.Text = "Please note that AleeBrowser is in alpha"; + // + // button3 + // + this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button3.Location = new System.Drawing.Point(912, 15); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(50, 23); + this.button3.TabIndex = 3; + this.button3.Text = "Go"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // label2 + // + this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(819, 512); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(87, 13); + this.label2.TabIndex = 5; + this.label2.Text = "Alpha 0.1 Build 4"; + // + // button4 + // + this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.button4.Location = new System.Drawing.Point(26, 512); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(71, 29); + this.button4.TabIndex = 6; + this.button4.Text = "About"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBox1.Location = new System.Drawing.Point(17, 15); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(889, 20); + this.textBox1.TabIndex = 7; + this.textBox1.Text = "http://"; + // + // webBrowser1 + // + this.webBrowser1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.webBrowser1.Location = new System.Drawing.Point(18, 47); + this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser1.Name = "webBrowser1"; + this.webBrowser1.Size = new System.Drawing.Size(934, 459); + this.webBrowser1.TabIndex = 9; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.button1.Location = new System.Drawing.Point(103, 512); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(71, 31); + this.button1.TabIndex = 10; + this.button1.Text = "Exit"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // statusStrip1 + // + this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripProgressBar1, + this.toolStripStatusLabel1}); + this.statusStrip1.Location = new System.Drawing.Point(0, 552); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Size = new System.Drawing.Size(974, 22); + this.statusStrip1.TabIndex = 11; + this.statusStrip1.Text = "statusStrip1"; + // + // toolStripProgressBar1 + // + this.toolStripProgressBar1.Name = "toolStripProgressBar1"; + this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 16); + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17); + this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Text = "Form1"; + this.ClientSize = new System.Drawing.Size(974, 574); + this.Controls.Add(this.statusStrip1); + this.Controls.Add(this.button1); + this.Controls.Add(this.webBrowser1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button4); + this.Controls.Add(this.label2); + this.Controls.Add(this.button3); + this.Controls.Add(this.label1); + this.Name = "Form1"; + this.Text = "AleeBrowser"; + this.Load += new System.EventHandler(this.Form1_Load); + this.statusStrip1.ResumeLayout(false); + this.statusStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.WebBrowser webBrowser1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.StatusStrip statusStrip1; + private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1; + private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; } } diff --git a/AleeBrowser/Form1.cs b/AleeBrowser/Form1.cs index 45b9dc6..7ac4232 100644 --- a/AleeBrowser/Form1.cs +++ b/AleeBrowser/Form1.cs @@ -16,5 +16,30 @@ namespace AleeBrowser { InitializeComponent(); } - } -} + + private void tabPage1_Click(object sender, EventArgs e) + { + + } + + private void Form1_Load(object sender, EventArgs e) + { + + } + + private void button4_Click(object sender, EventArgs e) + { + MessageBox.Show("This browser is created by: AleeCorp"); + } + + private void button1_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void button3_Click(object sender, EventArgs e) + { + webBrowser1.Navigate(textBox1.Text); + } + } + } \ No newline at end of file diff --git a/AleeBrowser/Form1.resx b/AleeBrowser/Form1.resx new file mode 100644 index 0000000..174ebc7 --- /dev/null +++ b/AleeBrowser/Form1.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file -- cgit v1.2.3