2013-02-06 1 views

답변

1

다음은 그런 일을 할 수있는 방법의 예 : 대한

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 
    Dim nextForm As Form = Nothing 
    Select Case ComboBox1.SelectedText 
     Case "Option 1" 
      nextForm = New Form2() 
     Case "Option 2" 
      nextForm = New Form3() 
    End Select 
    If nextForm IsNot Nothing Then 
     nextForm.Show() 
    End If 
End Sub 
+0

한 번이 –

+0

@MattWilko 봐, 지금, 우리가 있었던 모든 초보자 대답을 방해하고 :) –

+1

내 요점 완전히! 적은 사람들이 투표를 끝내기로 결정했을거야. –

관련 문제