質問編集履歴
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,9 +11,9 @@
|
|
11
11
|
|
12
12
|
2.フォーカス移動させないセルにフォーカスが移った際に、フォーカス移動させるセルにフォーカスを移す。
|
13
13
|
|
14
|
-
if(dataGridView1.CurrentCellAddress.X ==
|
14
|
+
if(dataGridView1.CurrentCellAddress.X == 0 && dataGridView1.CurrentCellAddress.Y == 0)
|
15
15
|
{
|
16
|
-
dataGridView1[
|
16
|
+
dataGridView1[1, 0].Focus();
|
17
17
|
}
|
18
18
|
|
19
19
|
→ エラーが発生しました。
|