2022-11-16 01:28:22 +00:00
|
|
|
|
Module DesktopManager
|
2022-11-21 06:56:13 +00:00
|
|
|
|
Public Sub StartG()
|
2022-11-16 01:28:22 +00:00
|
|
|
|
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()
|
2022-11-16 01:28:22 +00:00
|
|
|
|
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
|
2022-11-16 01:28:22 +00:00
|
|
|
|
End Sub
|
|
|
|
|
End Module
|