![]() ![]() ![]() Static RegistryKey screenSaverKey = Registry.CurrentUser. Click the Add button on the right-hand side. If you want add music to your screensaver, select the Music tab. Now all the photos in the folder will appear under Media. When the user returns, he/she can immediately resume to work by starting. Once you’ve selected the Folder, click OK. A screen saver is a software module that blanks a screen after a certain amount. ![]() Static public extern void LockWorkStation() You can use the remote control to switch between screensavers and set the display effect when playing the screensaver on the HUAWEI Vision: Press the right. A small window will appear where you will select the folder of photos you want to make up your screensaver. if (e.Reason = SessionSwitchReason.SessionLock) // else if (e.Reason = SessionSwitchReason.SessionUnlock) Static void SystemEvents_SessionSwitch( object sender, e) ScreenSaverProcess.WaitForExit() // Wait for the screensaver to be dismissed by the user LstForms.Add( new FormMainHide(s.Bounds.X, s.Bounds.Y)) // FormMainHide is a borderless topmost maximized black form to hide the screens Process screenSaverProcess = Process.Start( new ProcessStartInfo(screenSaverFilePath, " /s")) // "/s" for full-screen mode foreach (Screen s in Screen.AllScreens) If (!string.IsNullOrEmpty(screenSaverFilePath) & File.Exists(screenSaverFilePath)) String screenSaverFilePath = screenSaverKey.GetValue( " SCRNSAVE.EXE", string.Empty).ToString() / /// The main entry point for the application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |