VB.NET質問スレ(Part40)
■ このスレッドは過去ログ倉庫に格納されています
0699デフォルトの名無しさん
2013/11/11(月) 08:57:35.18Imports System.Threading
Imports System.Windows.Forms
Module Program
<STAThreadAttribute>
Sub Main()
Dim th = new Thread(new ThreadStart(
Sub() Application.Run(new Form() With { .Text = "Form2" })))
th.SetApartmentState(ApartmentState.STA)
th.Start()
Application.Run(new Form() With { .Text = "Form1" })
End Sub
End Module
■ このスレッドは過去ログ倉庫に格納されています