2015-10-23 61 views

回答

0

在控制檯應用程序中,您必須添加對System.Windows.Forms的引用。然後基本是:

Sub Main() 
    Dim NewForm As New System.Windows.Forms.Form 
    NewForm.Text = "New Form" 
    'Add any other settings or controls you want 
    NewForm.ShowDialog() 
End Sub 

這將等到表單關閉,然後再退出應用程序。那是你想過的那種東西嗎?

相關問題