aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms/Applications/Shifter.vb
blob: 4613ee11c1a4461e2ef0aea1ca46bb3aabba1ae1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

    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