質問編集履歴
3
微修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,8 +34,8 @@
|
|
34
34
|
|
35
35
|
if (selectedIndex != -1)
|
36
36
|
disableEventCounter++;
|
37
|
-
|
38
37
|
listView1.Items.Clear();
|
38
|
+
|
39
39
|
listView1.Items.Add("aaaaaaaaaaa");
|
40
40
|
listView1.Items.Add("bbbbbbbbbbb");
|
41
41
|
listView1.Items.Add("ccccccccccc");
|
2
微修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,11 +33,9 @@
|
|
33
33
|
var selectedIndex = listView1.SelectedItems.Count > 0 ? listView1.SelectedIndices[0] : -1;
|
34
34
|
|
35
35
|
if (selectedIndex != -1)
|
36
|
-
{
|
37
36
|
disableEventCounter++;
|
38
|
-
listView1.Items.Clear();
|
39
|
-
}
|
40
37
|
|
38
|
+
listView1.Items.Clear();
|
41
39
|
listView1.Items.Add("aaaaaaaaaaa");
|
42
40
|
listView1.Items.Add("bbbbbbbbbbb");
|
43
41
|
listView1.Items.Add("ccccccccccc");
|
1
微修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,8 +33,11 @@
|
|
33
33
|
var selectedIndex = listView1.SelectedItems.Count > 0 ? listView1.SelectedIndices[0] : -1;
|
34
34
|
|
35
35
|
if (selectedIndex != -1)
|
36
|
+
{
|
36
37
|
disableEventCounter++;
|
37
|
-
|
38
|
+
listView1.Items.Clear();
|
39
|
+
}
|
40
|
+
|
38
41
|
listView1.Items.Add("aaaaaaaaaaa");
|
39
42
|
listView1.Items.Add("bbbbbbbbbbb");
|
40
43
|
listView1.Items.Add("ccccccccccc");
|