C# Класс Screensavers.Screensaver

Provides initialization, timing and windowing facilities for screensavers.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DoUpdate void
Form_FormClosing void
GetClientRect System.Drawing.Rectangle
GetClientRect bool
GetVirtualScreenRect System.Drawing.Rectangle
InitializeAndStart void
IsWindowVisible bool
LockWorkStation bool
OnKeyboardInput void
OnMouseClick void
OnMouseMove void
ProcessCommandLine ScreensaverMode
RunNormal void
RunNormalMultipleWindows void
RunNormalSingleWindow void
RunPreview void
RunWindowed void
StartUpdating void
StopUpdating void
TimerCallback void
framerateTimer_Elapsed void
timeGetTime int
timeKillEvent int
timeSetEvent int

Открытые методы

Метод Описание
Run ( ) : void

Start the screensaver in windowed mode if the file extension is not scr, unless a mode is specified in the command line. Otherwise, if the file extension is scr, start the screensaver in config mode.

Run ( ScreensaverMode mode ) : void

Start the screensaver in the specified mode unless one is specified in the command line.

Защищенные методы

Метод Описание
Screensaver ( ) : System

Creates a new Screensaver that runs one window per screen.

Screensaver ( FullscreenMode fullscreenMode ) : System

Creates a new Screensaver with the given fullscreen mode.

ShowSettingsDialog ( ) : void

Shows the settings dialog, or, by default, shows a message box indicating the assembly name, version and copyright information.

Приватные методы

Метод Описание
DoUpdate ( ) : void
Form_FormClosing ( object sender, FormClosingEventArgs e ) : void
GetClientRect ( IntPtr handle ) : Rectangle
GetClientRect ( IntPtr handle, System.Windows.Forms.RECT &rect ) : bool
GetVirtualScreenRect ( ) : Rectangle
InitializeAndStart ( ) : void
IsWindowVisible ( IntPtr handle ) : bool
LockWorkStation ( ) : bool
OnKeyboardInput ( ) : void
OnMouseClick ( ) : void
OnMouseMove ( ) : void
ProcessCommandLine ( ) : ScreensaverMode
RunNormal ( ) : void
RunNormalMultipleWindows ( ) : void
RunNormalSingleWindow ( ) : void
RunPreview ( ) : void
RunWindowed ( ) : void
StartUpdating ( ) : void
StopUpdating ( ) : void
TimerCallback ( uint id, uint msg, IntPtr user, IntPtr param1, IntPtr param2 ) : void
framerateTimer_Elapsed ( object sender, System e ) : void
timeGetTime ( ) : int
timeKillEvent ( int id ) : int
timeSetEvent ( int delay, int resolution, TimeCallback callback, int user, int mode ) : int

Описание методов

Run() публичный Метод

Start the screensaver in windowed mode if the file extension is not scr, unless a mode is specified in the command line. Otherwise, if the file extension is scr, start the screensaver in config mode.
public Run ( ) : void
Результат void

Run() публичный Метод

Start the screensaver in the specified mode unless one is specified in the command line.
public Run ( ScreensaverMode mode ) : void
mode ScreensaverMode The mode in which to run the screensaver. This value cannot be .
Результат void

Screensaver() защищенный Метод

Creates a new Screensaver that runs one window per screen.
protected Screensaver ( ) : System
Результат System

Screensaver() защищенный Метод

Creates a new Screensaver with the given fullscreen mode.
protected Screensaver ( FullscreenMode fullscreenMode ) : System
fullscreenMode FullscreenMode A value indicating the fullscreen windowing mode.
Результат System

ShowSettingsDialog() защищенный Метод

Shows the settings dialog, or, by default, shows a message box indicating the assembly name, version and copyright information.
protected ShowSettingsDialog ( ) : void
Результат void