質問編集履歴
3
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -127,7 +127,7 @@
|
|
127
127
|
this.Controls.Add(this.textBox1);
|
128
128
|
this.Name = "Form1";
|
129
129
|
this.Text = "Form1";
|
130
|
-
this.Load += new System.EventHandler(this.Form1_Load);
|
130
|
+
this.Load += new System.EventHandler(this.Form1_Load); //←ここがエラーCS1061
|
131
131
|
this.ResumeLayout(false);
|
132
132
|
this.PerformLayout();
|
133
133
|
|
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,9 +22,9 @@
|
|
22
22
|
test C:\Users***\source\repos\test\test\Form1.Designer.cs
|
23
23
|
```
|
24
24
|
|
25
|
-
###
|
25
|
+
### Form1.cs
|
26
26
|
|
27
|
-
```C#
|
27
|
+
```C#
|
28
28
|
using System;
|
29
29
|
using System.Collections.Generic;
|
30
30
|
using System.ComponentModel;
|
@@ -54,7 +54,8 @@
|
|
54
54
|
}
|
55
55
|
|
56
56
|
```
|
57
|
-
|
57
|
+
### Designer.cs
|
58
|
+
```C#
|
58
59
|
namespace test
|
59
60
|
{
|
60
61
|
partial class Form1
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
### 該当のソースコード
|
26
26
|
|
27
|
-
```C#
|
27
|
+
```C# Form1.cs
|
28
28
|
using System;
|
29
29
|
using System.Collections.Generic;
|
30
30
|
using System.ComponentModel;
|
@@ -53,4 +53,90 @@
|
|
53
53
|
}
|
54
54
|
}
|
55
55
|
|
56
|
+
```
|
57
|
+
```C# Designer.cs
|
58
|
+
namespace test
|
59
|
+
{
|
60
|
+
partial class Form1
|
61
|
+
{
|
62
|
+
/// <summary>
|
63
|
+
/// 必要なデザイナー変数です。
|
64
|
+
/// </summary>
|
65
|
+
private System.ComponentModel.IContainer components = null;
|
66
|
+
|
67
|
+
/// <summary>
|
68
|
+
/// 使用中のリソースをすべてクリーンアップします。
|
69
|
+
/// </summary>
|
70
|
+
/// <param name="disposing">マネージ リソースを破棄する場合は true を指定し、その他の場合は false を指定します。</param>
|
71
|
+
protected override void Dispose(bool disposing)
|
72
|
+
{
|
73
|
+
if (disposing && (components != null))
|
74
|
+
{
|
75
|
+
components.Dispose();
|
76
|
+
}
|
77
|
+
base.Dispose(disposing);
|
78
|
+
}
|
79
|
+
|
80
|
+
#region Windows フォーム デザイナーで生成されたコード
|
81
|
+
|
82
|
+
/// <summary>
|
83
|
+
/// デザイナー サポートに必要なメソッドです。このメソッドの内容を
|
84
|
+
/// コード エディターで変更しないでください。
|
85
|
+
/// </summary>
|
86
|
+
private void InitializeComponent()
|
87
|
+
{
|
88
|
+
this.textBox1 = new System.Windows.Forms.TextBox();
|
89
|
+
this.button1 = new System.Windows.Forms.Button();
|
90
|
+
this.label1 = new System.Windows.Forms.Label();
|
91
|
+
this.SuspendLayout();
|
92
|
+
//
|
93
|
+
// textBox1
|
94
|
+
//
|
95
|
+
this.textBox1.Location = new System.Drawing.Point(51, 34);
|
96
|
+
this.textBox1.Name = "textBox1";
|
97
|
+
this.textBox1.Size = new System.Drawing.Size(190, 19);
|
98
|
+
this.textBox1.TabIndex = 0;
|
99
|
+
//
|
100
|
+
// button1
|
101
|
+
//
|
102
|
+
this.button1.Location = new System.Drawing.Point(165, 60);
|
103
|
+
this.button1.Name = "button1";
|
104
|
+
this.button1.Size = new System.Drawing.Size(75, 23);
|
105
|
+
this.button1.TabIndex = 1;
|
106
|
+
this.button1.Text = "button1";
|
107
|
+
this.button1.UseVisualStyleBackColor = true;
|
108
|
+
this.button1.Click += new System.EventHandler(this.button1_Click);
|
109
|
+
//
|
110
|
+
// label1
|
111
|
+
//
|
112
|
+
this.label1.AutoSize = true;
|
113
|
+
this.label1.Location = new System.Drawing.Point(51, 106);
|
114
|
+
this.label1.Name = "label1";
|
115
|
+
this.label1.Size = new System.Drawing.Size(35, 12);
|
116
|
+
this.label1.TabIndex = 2;
|
117
|
+
this.label1.Text = "label1";
|
118
|
+
//
|
119
|
+
// Form1
|
120
|
+
//
|
121
|
+
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
122
|
+
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
123
|
+
this.ClientSize = new System.Drawing.Size(800, 450);
|
124
|
+
this.Controls.Add(this.label1);
|
125
|
+
this.Controls.Add(this.button1);
|
126
|
+
this.Controls.Add(this.textBox1);
|
127
|
+
this.Name = "Form1";
|
128
|
+
this.Text = "Form1";
|
129
|
+
this.Load += new System.EventHandler(this.Form1_Load); "←ここがエラーCS1061"
|
130
|
+
this.ResumeLayout(false);
|
131
|
+
this.PerformLayout();
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
#endregion
|
136
|
+
|
137
|
+
private System.Windows.Forms.TextBox textBox1;
|
138
|
+
private System.Windows.Forms.Button button1;
|
139
|
+
private System.Windows.Forms.Label label1;
|
140
|
+
}
|
141
|
+
}
|
56
142
|
```
|