質問編集履歴

3

修正

2018/06/16 16:11

投稿

cman
cman

スコア9

test CHANGED
File without changes
test CHANGED
@@ -256,7 +256,7 @@
256
256
 
257
257
  this.Text = "Form1";
258
258
 
259
- this.Load += new System.EventHandler(this.Form1_Load); "←ここがエラーCS1061"
259
+ this.Load += new System.EventHandler(this.Form1_Load); //←ここがエラーCS1061
260
260
 
261
261
  this.ResumeLayout(false);
262
262
 

2

追記

2018/06/16 16:11

投稿

cman
cman

スコア9

test CHANGED
File without changes
test CHANGED
@@ -46,11 +46,11 @@
46
46
 
47
47
 
48
48
 
49
- ### 該当のソースコード
50
-
51
-
52
-
53
- ```C# Form1.cs
49
+ ### Form1.cs
50
+
51
+
52
+
53
+ ```C#
54
54
 
55
55
  using System;
56
56
 
@@ -110,7 +110,9 @@
110
110
 
111
111
  ```
112
112
 
113
- ```C# Designer.cs
113
+ ### Designer.cs
114
+
115
+ ```C#
114
116
 
115
117
  namespace test
116
118
 

1

追記

2018/06/16 14:48

投稿

cman
cman

スコア9

test CHANGED
File without changes
test CHANGED
@@ -50,7 +50,7 @@
50
50
 
51
51
 
52
52
 
53
- ```C#
53
+ ```C# Form1.cs
54
54
 
55
55
  using System;
56
56
 
@@ -109,3 +109,175 @@
109
109
 
110
110
 
111
111
  ```
112
+
113
+ ```C# Designer.cs
114
+
115
+ namespace test
116
+
117
+ {
118
+
119
+ partial class Form1
120
+
121
+ {
122
+
123
+ /// <summary>
124
+
125
+ /// 必要なデザイナー変数です。
126
+
127
+ /// </summary>
128
+
129
+ private System.ComponentModel.IContainer components = null;
130
+
131
+
132
+
133
+ /// <summary>
134
+
135
+ /// 使用中のリソースをすべてクリーンアップします。
136
+
137
+ /// </summary>
138
+
139
+ /// <param name="disposing">マネージ リソースを破棄する場合は true を指定し、その他の場合は false を指定します。</param>
140
+
141
+ protected override void Dispose(bool disposing)
142
+
143
+ {
144
+
145
+ if (disposing && (components != null))
146
+
147
+ {
148
+
149
+ components.Dispose();
150
+
151
+ }
152
+
153
+ base.Dispose(disposing);
154
+
155
+ }
156
+
157
+
158
+
159
+ #region Windows フォーム デザイナーで生成されたコード
160
+
161
+
162
+
163
+ /// <summary>
164
+
165
+ /// デザイナー サポートに必要なメソッドです。このメソッドの内容を
166
+
167
+ /// コード エディターで変更しないでください。
168
+
169
+ /// </summary>
170
+
171
+ private void InitializeComponent()
172
+
173
+ {
174
+
175
+ this.textBox1 = new System.Windows.Forms.TextBox();
176
+
177
+ this.button1 = new System.Windows.Forms.Button();
178
+
179
+ this.label1 = new System.Windows.Forms.Label();
180
+
181
+ this.SuspendLayout();
182
+
183
+ //
184
+
185
+ // textBox1
186
+
187
+ //
188
+
189
+ this.textBox1.Location = new System.Drawing.Point(51, 34);
190
+
191
+ this.textBox1.Name = "textBox1";
192
+
193
+ this.textBox1.Size = new System.Drawing.Size(190, 19);
194
+
195
+ this.textBox1.TabIndex = 0;
196
+
197
+ //
198
+
199
+ // button1
200
+
201
+ //
202
+
203
+ this.button1.Location = new System.Drawing.Point(165, 60);
204
+
205
+ this.button1.Name = "button1";
206
+
207
+ this.button1.Size = new System.Drawing.Size(75, 23);
208
+
209
+ this.button1.TabIndex = 1;
210
+
211
+ this.button1.Text = "button1";
212
+
213
+ this.button1.UseVisualStyleBackColor = true;
214
+
215
+ this.button1.Click += new System.EventHandler(this.button1_Click);
216
+
217
+ //
218
+
219
+ // label1
220
+
221
+ //
222
+
223
+ this.label1.AutoSize = true;
224
+
225
+ this.label1.Location = new System.Drawing.Point(51, 106);
226
+
227
+ this.label1.Name = "label1";
228
+
229
+ this.label1.Size = new System.Drawing.Size(35, 12);
230
+
231
+ this.label1.TabIndex = 2;
232
+
233
+ this.label1.Text = "label1";
234
+
235
+ //
236
+
237
+ // Form1
238
+
239
+ //
240
+
241
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
242
+
243
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
244
+
245
+ this.ClientSize = new System.Drawing.Size(800, 450);
246
+
247
+ this.Controls.Add(this.label1);
248
+
249
+ this.Controls.Add(this.button1);
250
+
251
+ this.Controls.Add(this.textBox1);
252
+
253
+ this.Name = "Form1";
254
+
255
+ this.Text = "Form1";
256
+
257
+ this.Load += new System.EventHandler(this.Form1_Load); "←ここがエラーCS1061"
258
+
259
+ this.ResumeLayout(false);
260
+
261
+ this.PerformLayout();
262
+
263
+
264
+
265
+ }
266
+
267
+
268
+
269
+ #endregion
270
+
271
+
272
+
273
+ private System.Windows.Forms.TextBox textBox1;
274
+
275
+ private System.Windows.Forms.Button button1;
276
+
277
+ private System.Windows.Forms.Label label1;
278
+
279
+ }
280
+
281
+ }
282
+
283
+ ```