回答編集履歴
3
break漏れ
test
CHANGED
@@ -34,6 +34,8 @@
|
|
34
34
|
|
35
35
|
control.Focus();
|
36
36
|
|
37
|
+
break;
|
38
|
+
|
37
39
|
}
|
38
40
|
|
39
41
|
}
|
2
誤字修正
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
Int32 num = 0;
|
22
22
|
|
23
|
-
Int32.TryParse(textBox.Name.Substring("textBox".
|
23
|
+
Int32.TryParse(textBox.Name.Substring("textBox".Length), out num);
|
24
24
|
|
25
25
|
if (num != 0) {
|
26
26
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
foreach(Control control in textbox.FindForm().Controls) {
|
32
32
|
|
33
|
-
if (control.Name.
|
33
|
+
if (control.Name.Equals(newTextBoxName)) {
|
34
34
|
|
35
35
|
control.Focus();
|
36
36
|
|
1
誤字修正
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
Int32 num = 0;
|
22
22
|
|
23
|
-
Int32.TryParse(textBox.
|
23
|
+
Int32.TryParse(textBox.Name.Substring("textBox".length), out num);
|
24
24
|
|
25
25
|
if (num != 0) {
|
26
26
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
foreach(Control control in textbox.FindForm().Controls) {
|
32
32
|
|
33
|
-
if (control.
|
33
|
+
if (control.Name.equals(newTextBoxName)) {
|
34
34
|
|
35
35
|
control.Focus();
|
36
36
|
|