ZooFlow: Save Window Position, Fix FlowForm Designer, Add Logger
This commit is contained in:
@@ -60,7 +60,16 @@ Partial Public Class frmAdmin
|
||||
Visible = False
|
||||
End Sub
|
||||
|
||||
Private Sub frmMain_FormClosed(sender As Object, e As FormClosedEventArgs)
|
||||
Private Sub frmMain_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
|
||||
If FlowForm IsNot Nothing Then
|
||||
FlowForm.Close()
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub frmMain_FormClosed(sender As Object, e As FormClosedEventArgs) Handles Me.FormClosed
|
||||
My.UIConfig.FlowForm.Location = FlowForm.Location
|
||||
My.UIConfigManager.Save()
|
||||
|
||||
EventBus.Instance.Unregister(Me)
|
||||
End Sub
|
||||
|
||||
@@ -150,9 +159,6 @@ Partial Public Class frmAdmin
|
||||
ToggleVisibility()
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
|
||||
#End Region
|
||||
|
||||
Private Sub ToggleVisibility()
|
||||
@@ -197,6 +203,4 @@ Partial Public Class frmAdmin
|
||||
Logger.Error(ex)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user