ShiftOS-TheRevival-Old/ShiftOS-TheRevival/MainForms/DesktopEnvironment/master/DesktopManager.vb

30 lines
744 B
VB.net
Raw Normal View History

Module DesktopManager
2022-11-21 06:56:13 +00:00
Public Sub StartG()
Desktop.Show()
Desktop.FormBorderStyle = FormBorderStyle.None
Desktop.WindowState = FormWindowState.Maximized
2022-11-21 03:43:53 +00:00
Desktop.TopMost = False
IsConsoleParent = False
Console.Close()
2022-11-21 06:56:13 +00:00
WindowManagerChoose()
2022-11-20 14:53:17 +00:00
Cursor.Show()
End Sub
2022-11-21 06:56:13 +00:00
Public Sub StopG()
DuWM_CurrentProcess = 0
Strings.ProcessID(0) = 0
Strings.ProcessID(1) = 0
2022-11-20 14:53:17 +00:00
Cursor.Hide()
2022-11-21 03:43:53 +00:00
IsConsoleParent = True
2022-11-21 06:56:13 +00:00
Console.Show()
Desktop.Close()
End Sub
Public Sub WindowManagerChoose()
Select Case Strings.ComputerInfo(7)
Case 1
DuWM_Initiate()
End Select
End Sub
End Module