C# Class RPS.Screensaver

Inheritance: System.Windows.Forms.ApplicationContext
Afficher le fichier Open project: marijnkampf/Random-Photo-Screensaver Class Usage Examples

Méthodes publiques

Свойство Type Description
CM_ALL int
Desktop System.Drawing.Rectangle
action Actions
applicationClosing bool
clipboardReady bool
config Config
configHidden bool
currentMonitor int
debugLog List
desktopRatio float
fileNodes FileNodes
monitors Monitor[]
readOnly bool
showUpdateStatus bool
version System.Version

Méthodes publiques

Méthode Description
MouseMove ( object sender, MouseEventArgs e ) : void
OnExit ( ) : void
PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
actionNext ( int step ) : void
actionPrevious ( int step ) : void
appendDebugFile ( int monitor, string log ) : void
checkBrowserVersionOk ( ) : bool
getNrMonitors ( ) : int
getStep ( PreviewKeyDownEventArgs e ) : int
hideUpdateInfo ( ) : void
initForScreensaverAndWallpaper ( ) : void
initializeMonitors ( ) : void
pauseAll ( bool showInfo ) : void
resetMouseMove ( ) : void
resumeAll ( bool showInfo ) : void
showAllUpToDate ( ) : void
showInfoOnMonitors ( string info ) : void
showInfoOnMonitors ( string info, bool highPriority ) : void
showInfoOnMonitors ( string info, bool highPriority, bool fade ) : void
showUpdateInfo ( string info ) : void
startTimers ( ) : void
stopTimers ( ) : void

Private Methods

Méthode Description
CleanUpOnException ( object sender, UnhandledExceptionEventArgs args ) : void
DoWorkDeleteFile ( object sender, DoWorkEventArgs e ) : void
GetShortPathName ( string longPath, StringBuilder buffer, int bufferSize ) : int
IsRunAsAdmin ( ) : bool

The function checks whether the current process is run as administrator. In other words, it dictates whether the primary access token of the process belongs to user account that is a member of the local Administrators group and it is elevated.

Main ( string args ) : void
MonitorsAndConfigReady ( ) : void
MouseClick ( object sender, MouseEventArgs e ) : void
OnFormClosed ( object sender, EventArgs e ) : void
Screensaver ( Actions action, bool readOnly, IntPtr hwnds ) : System
SwitchToThisWindow ( IntPtr hWnd, bool turnon ) : void
mouseMoveTimer_Tick ( object sender, EventArgs e ) : void
setAsCurrentScreensaver ( string path ) : void
singleProcess ( Actions action ) : bool

Method Details

MouseMove() public méthode

public MouseMove ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
Résultat void

OnExit() public méthode

public OnExit ( ) : void
Résultat void

PreviewKeyDown() public méthode

public PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
sender object
e System.Windows.Forms.PreviewKeyDownEventArgs
Résultat void

actionNext() public méthode

public actionNext ( int step ) : void
step int
Résultat void

actionPrevious() public méthode

public actionPrevious ( int step ) : void
step int
Résultat void

appendDebugFile() public méthode

public appendDebugFile ( int monitor, string log ) : void
monitor int
log string
Résultat void

checkBrowserVersionOk() public static méthode

public static checkBrowserVersionOk ( ) : bool
Résultat bool

getNrMonitors() public méthode

public getNrMonitors ( ) : int
Résultat int

getStep() public méthode

public getStep ( PreviewKeyDownEventArgs e ) : int
e System.Windows.Forms.PreviewKeyDownEventArgs
Résultat int

hideUpdateInfo() public méthode

public hideUpdateInfo ( ) : void
Résultat void

initForScreensaverAndWallpaper() public méthode

public initForScreensaverAndWallpaper ( ) : void
Résultat void

initializeMonitors() public méthode

public initializeMonitors ( ) : void
Résultat void

pauseAll() public méthode

public pauseAll ( bool showInfo ) : void
showInfo bool
Résultat void

resetMouseMove() public méthode

public resetMouseMove ( ) : void
Résultat void

resumeAll() public méthode

public resumeAll ( bool showInfo ) : void
showInfo bool
Résultat void

showAllUpToDate() public méthode

public showAllUpToDate ( ) : void
Résultat void

showInfoOnMonitors() public méthode

public showInfoOnMonitors ( string info ) : void
info string
Résultat void

showInfoOnMonitors() public méthode

public showInfoOnMonitors ( string info, bool highPriority ) : void
info string
highPriority bool
Résultat void

showInfoOnMonitors() public méthode

public showInfoOnMonitors ( string info, bool highPriority, bool fade ) : void
info string
highPriority bool
fade bool
Résultat void

showUpdateInfo() public méthode

public showUpdateInfo ( string info ) : void
info string
Résultat void

startTimers() public méthode

public startTimers ( ) : void
Résultat void

stopTimers() public méthode

public stopTimers ( ) : void
Résultat void

Property Details

CM_ALL public_oe static_oe property

public static int CM_ALL
Résultat int

Desktop public_oe property

public Rectangle,System.Drawing Desktop
Résultat System.Drawing.Rectangle

action public_oe property

public Actions action
Résultat Actions

applicationClosing public_oe property

public bool applicationClosing
Résultat bool

clipboardReady public_oe property

public bool clipboardReady
Résultat bool

config public_oe property

public Config,RPS config
Résultat Config

configHidden public_oe property

public bool configHidden
Résultat bool

currentMonitor public_oe property

public int currentMonitor
Résultat int

debugLog public_oe property

public List debugLog
Résultat List

desktopRatio public_oe property

public float desktopRatio
Résultat float

fileNodes public_oe property

public FileNodes,RPS fileNodes
Résultat FileNodes

monitors public_oe property

public Monitor[] monitors
Résultat Monitor[]

readOnly public_oe property

public bool readOnly
Résultat bool

showUpdateStatus public_oe property

public bool showUpdateStatus
Résultat bool

version public_oe property

public Version,System version
Résultat System.Version