C# 클래스 Screensavers.Screensaver

Provides initialization, timing and windowing facilities for screensavers.
파일 보기 프로젝트 열기: wmhilton/lock-screen 1 사용 예제들

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