请大家帮助我!想进度条显示以后,不显示Form1而显示Form2窗体.
在Form1_load事件下code:Dim i As Long
Me.Show()
Me.ProgressBar1.Maximum = 50000
Me.ProgressBar1.Minimum = 1
Me.ProgressBar1.Step = 1
Me.ProgressBar1.Value = 1
System.Threading.Thread.Sleep(50)
For i = 1 To 50000
Me.ProgressBar1.Value = i
Next
Dim frm As New Form2
frm.Show()
Me.Hide()
--------------------编程问答-------------------- Dim frm As New Form2
frm.ShowDialog()
--------------------编程问答-------------------- 我是说把Form1窗体在桌面不显示,而是在Form2显示出来
上面一行代码我试了没有用,Form1还是在桌面上.
补充:.NET技术 , VB.NET