質問編集履歴
1
コーディング内容を全て記述
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
|
21
21
|
以下のようなコーディングをしているのですが何か問題がありますでしょうか?
|
22
22
|
|
23
|
+
Public Class Form1
|
23
24
|
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmb1.SelectedIndexChanged
|
24
25
|
|
25
26
|
If Me.cmb1.SelectedIndex = 0 Then
|
@@ -28,4 +29,12 @@
|
|
28
29
|
Me.cmb1.DropDownStyle = ComboBoxStyle.DropDown
|
29
30
|
End If
|
30
31
|
|
31
|
-
End Sub
|
32
|
+
End Sub
|
33
|
+
|
34
|
+
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
35
|
+
|
36
|
+
Me.cmb1.Items.Add("1111")
|
37
|
+
Me.cmb1.Items.Add("2222")
|
38
|
+
|
39
|
+
End Sub
|
40
|
+
End Class
|