fix closing
This commit is contained in:
parent
33f5bec8d0
commit
2d49e4704d
@ -28,9 +28,11 @@ Partial Class frmSplashScreen
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(800, 450)
|
||||
Me.ClientSize = New System.Drawing.Size(365, 204)
|
||||
Me.Name = "frmSplashScreen"
|
||||
Me.Opacity = 0R
|
||||
Me.ShowIcon = False
|
||||
Me.ShowInTaskbar = False
|
||||
Me.Text = "frmSplashScreen"
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
|
||||
@ -75,7 +75,10 @@ Public Class frmSplashScreen
|
||||
End If
|
||||
|
||||
Dim oForm As New frmMain(State)
|
||||
oForm.Show()
|
||||
oForm.ShowDialog()
|
||||
|
||||
' Close this form after frmMain is closed
|
||||
Close()
|
||||
|
||||
Catch ex As ApplicationException
|
||||
Logger.Error(ex)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user