Vb.net 当其他窗体打开时关闭主窗体
如何隐藏主窗体并打开第二个窗体Vb.net 当其他窗体打开时关闭主窗体,vb.net,forms,hide,Vb.net,Forms,Hide,如何隐藏主窗体并打开第二个窗体 If My.Computer.Registry.GetValue("HKEY_CURRENT_USER\tFull", "tFull", Nothing) Is Nothing Then Me.Show() Else FrmPocetak.Show() Me.Hide() End If 它不会关闭主窗体,但会打开FrmPocetak::vb.net中的Visual studio。加载后,
If My.Computer.Registry.GetValue("HKEY_CURRENT_USER\tFull", "tFull", Nothing) Is Nothing Then
Me.Show()
Else
FrmPocetak.Show()
Me.Hide()
End If
它不会关闭主窗体,但会打开FrmPocetak::vb.net中的Visual studio。加载后,C将始终显示主窗体。改为尝试visible属性,可能会将其最小化。当所有窗体关闭时,我设置为project properties关机模式,并且我能够修复。close