ShiftOS-TheRevival-Old/ShiftOS-TheRevival/MainForms/Applications/Shifter.vb

17 lines
474 B
VB.net
Raw Normal View History

2022-11-20 21:53:17 +07:00
Public Class Shifter
Public DuWM_PID As Integer 'DuWM Process ID
Private Sub Shifter_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
2022-11-21 10:43:53 +07:00
Private Sub DuWM_Tick(sender As Object, e As EventArgs)
2022-11-20 21:53:17 +07:00
If Strings.ProcessID(DuWM_PID) = 0 Then
Close()
End If
End Sub
2022-11-21 10:43:53 +07:00
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Close()
End Sub
2022-11-20 21:53:17 +07:00
End Class