From c5b2c3e370cf17a4b4ee3d5a4928e3663ab72a1d Mon Sep 17 00:00:00 2001 From: EverythingWindows Date: Mon, 21 Nov 2022 10:43:53 +0700 Subject: Dual Window Manager development --- ShiftOS-TheRevival/MainForms/Applications/Shifter.vb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ShiftOS-TheRevival/MainForms/Applications/Shifter.vb') diff --git a/ShiftOS-TheRevival/MainForms/Applications/Shifter.vb b/ShiftOS-TheRevival/MainForms/Applications/Shifter.vb index cea6fe3..4613ee1 100644 --- a/ShiftOS-TheRevival/MainForms/Applications/Shifter.vb +++ b/ShiftOS-TheRevival/MainForms/Applications/Shifter.vb @@ -5,9 +5,13 @@ End Sub - Private Sub DuWM_Tick(sender As Object, e As EventArgs) + Private Sub DuWM_Tick(sender As Object, e As EventArgs) If Strings.ProcessID(DuWM_PID) = 0 Then Close() End If End Sub + + Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click + Close() + End Sub End Class \ No newline at end of file -- cgit v1.2.3