aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms/DesktopEnvironment/master/DesktopManager.vb
blob: dd3ff8de22a81d7242bde91fadef1f66215090f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Module DesktopManager
    Public Sub StartX()
        Desktop.Show()
        Desktop.FormBorderStyle = FormBorderStyle.None
        Desktop.WindowState = FormWindowState.Maximized
        Desktop.TopMost = False
        IsConsoleParent = False
        OnlyOne = True
        Console.Close()
        Cursor.Show()
    End Sub

    Public Sub StopX()
        Desktop.Close()
        Cursor.Hide()
        Console_Full()
        IsConsoleParent = True
    End Sub
End Module