Skip to content

Commit 0db1219

Browse files
authored
Update Shutdown_Gui.vb
1 parent 82cdfe6 commit 0db1219

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

WinNUT_V2/WinNUT_GUI/Shutdown_Gui.vb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ Public Class Shutdown_Gui
9797
System.Threading.Thread.Sleep(1000)
9898
WinNUT.Shutdown_Action()
9999
Run_Timer.Enabled = False
100+
Me.Shutdown_Timer.Stop()
101+
Me.Shutdown_Timer.Enabled = False
102+
Me.Grace_Timer.Stop()
103+
Me.Grace_Timer.Enabled = False
104+
Me.Hide()
105+
Me.Close()
100106
End Sub
101107

102108
Private Sub Run_Timer_Tick(sender As Object, e As EventArgs) Handles Run_Timer.Tick
@@ -137,4 +143,4 @@ Public Class Shutdown_Gui
137143
e.Cancel = True
138144
End If
139145
End Sub
140-
End Class
146+
End Class

0 commit comments

Comments
 (0)