diff --git a/git_test/Form1.Designer.cs b/git_test/Form1.Designer.cs index 88b4080..dae399f 100644 --- a/git_test/Form1.Designer.cs +++ b/git_test/Form1.Designer.cs @@ -28,12 +28,32 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; + button1 = new Button(); + SuspendLayout(); + // + // button1 + // + button1.Location = new Point(201, 104); + button1.Name = "button1"; + button1.Size = new Size(112, 34); + button1.TabIndex = 0; + button1.Text = "button1"; + button1.UseVisualStyleBackColor = true; + button1.Click += button1_Click; + // + // Form1 + // + AutoScaleDimensions = new SizeF(11F, 23F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Controls.Add(button1); + Name = "Form1"; + Text = "Form1"; + ResumeLayout(false); } #endregion + + private Button button1; } } diff --git a/git_test/Form1.cs b/git_test/Form1.cs index 0ec6d3d..8fde729 100644 --- a/git_test/Form1.cs +++ b/git_test/Form1.cs @@ -6,5 +6,10 @@ namespace git_test { InitializeComponent(); } + + private void button1_Click(object sender, EventArgs e) + { + + } } } diff --git a/git_test/Form1.resx b/git_test/Form1.resx index 1af7de1..8b2ff64 100644 --- a/git_test/Form1.resx +++ b/git_test/Form1.resx @@ -1,17 +1,17 @@  -