Modified fix for issue #68

This commit is contained in:
Michael J. Seiferling
2017-01-05 09:01:40 -06:00
parent 72f520f333
commit e4237a74bb
+6 -1
View File
@@ -652,6 +652,12 @@ Public Class frmMain
bProcessDebugMode = bDebugEnable
mgrCommon.ShowMessage(frmMain_CommandSucess, MsgBoxStyle.Exclamation)
End Select
Case "refresh"
'Redraw the main form
Me.Refresh()
mgrCommon.ShowMessage(frmMain_CommandSucess, MsgBoxStyle.Exclamation)
Case Else
mgrCommon.ShowMessage(frmMain_ErrorCommandInvalid, sMainCommand, MsgBoxStyle.Exclamation)
End Select
@@ -889,7 +895,6 @@ Public Class frmMain
'Toggle State with Tray Clicks
If Not bShowToggle Then
bShowToggle = True
Me.Refresh()
Me.Visible = True
Me.ShowInTaskbar = True
Me.Focus()