C# Class RPS.Monitor

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: marijnkampf/Random-Photo-Screensaver

Méthodes publiques

Свойство Type Description
browser System.Windows.Forms.WebBrowser
currentImage System.Data.DataRow
history List
historyPointer int
info string
offset int
panoramaPart bool
paused bool
quickMetadata MetadataTemplate
seedImageId long
timer System.Windows.Forms.Timer

Méthodes publiques

Méthode Description
InvokeScript ( string script, string parameters ) : Object
Monitor ( IntPtr previewHwnd, int id, Screensaver screensaver ) : System
Monitor ( Rectangle Bounds, int id, Screensaver screensaver ) : System
Monitor ( int id, Screensaver screensaver ) : System
NoImagesFoundMessage ( bool readOnly ) : string
RunningFromRPS ( ) : bool
backupImageCheck ( bool backItUp ) : bool
defaultShowHide ( ) : void
downloadProgressIndicator ( int i ) : void
fileExistsOnDisk ( DataRow dr ) : bool
hideUpdateInfo ( ) : void
historyAdd ( long id ) : void
historyLastEntries ( int count ) : List
imageId ( ) : long
imagePath ( ) : string
isMonitor0PanoramaImage ( bool setAsCurrent ) : bool
jsOverrideTimerInterval ( float duration ) : void
nextImage ( int step, bool panoramaShownPreviously ) : DataRow
offsetImage ( int i ) : DataRow
previousImage ( int step, bool panoramaShownPreviously ) : DataRow
previousImage ( int step, bool panoramaShownPreviously, bool setCurrentImage ) : DataRow
rateImage ( int rating ) : void
readMetadataImage ( ) : void
renameFile ( ) : void
resizeRatio ( int rotate ) : double
rotateImage ( int deg ) : void
saveDebug ( ) : string
setHistory ( List history, int offset ) : void
setTimerInterval ( ) : void
showImage ( bool animated ) : void
showInfoOnMonitor ( string info ) : string
showInfoOnMonitor ( string info, bool highPriority ) : string
showInfoOnMonitor ( string info, bool highPriority, bool fade ) : string
showUpdateInfo ( string info ) : void
startTimer ( ) : void
timer_Tick ( object sender, EventArgs e ) : void
trySetNextImage ( long seedImageId ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
DocumentCompleted ( object sender, System e ) : void
GetClientRect ( IntPtr hWnd, Rectangle &lpRect ) : bool
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Monitor_Load ( object sender, EventArgs e ) : void
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
SetWindowLong ( IntPtr hWnd, int nIndex, IntPtr dwNewLong ) : int

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

InvokeScript() public méthode

public InvokeScript ( string script, string parameters ) : Object
script string
parameters string
Résultat Object

Monitor() public méthode

public Monitor ( IntPtr previewHwnd, int id, Screensaver screensaver ) : System
previewHwnd System.IntPtr
id int
screensaver Screensaver
Résultat System

Monitor() public méthode

public Monitor ( Rectangle Bounds, int id, Screensaver screensaver ) : System
Bounds System.Drawing.Rectangle
id int
screensaver Screensaver
Résultat System

Monitor() public méthode

public Monitor ( int id, Screensaver screensaver ) : System
id int
screensaver Screensaver
Résultat System

NoImagesFoundMessage() public static méthode

public static NoImagesFoundMessage ( bool readOnly ) : string
readOnly bool
Résultat string

RunningFromRPS() public méthode

public RunningFromRPS ( ) : bool
Résultat bool

backupImageCheck() public méthode

public backupImageCheck ( bool backItUp ) : bool
backItUp bool
Résultat bool

defaultShowHide() public méthode

public defaultShowHide ( ) : void
Résultat void

downloadProgressIndicator() public méthode

public downloadProgressIndicator ( int i ) : void
i int
Résultat void

fileExistsOnDisk() public méthode

public fileExistsOnDisk ( DataRow dr ) : bool
dr System.Data.DataRow
Résultat bool

hideUpdateInfo() public méthode

public hideUpdateInfo ( ) : void
Résultat void

historyAdd() public méthode

public historyAdd ( long id ) : void
id long
Résultat void

historyLastEntries() public méthode

public historyLastEntries ( int count ) : List
count int
Résultat List

imageId() public méthode

public imageId ( ) : long
Résultat long

imagePath() public méthode

public imagePath ( ) : string
Résultat string

isMonitor0PanoramaImage() public méthode

public isMonitor0PanoramaImage ( bool setAsCurrent ) : bool
setAsCurrent bool
Résultat bool

jsOverrideTimerInterval() public méthode

public jsOverrideTimerInterval ( float duration ) : void
duration float
Résultat void

nextImage() public méthode

public nextImage ( int step, bool panoramaShownPreviously ) : DataRow
step int
panoramaShownPreviously bool
Résultat System.Data.DataRow

offsetImage() public méthode

public offsetImage ( int i ) : DataRow
i int
Résultat System.Data.DataRow

previousImage() public méthode

public previousImage ( int step, bool panoramaShownPreviously ) : DataRow
step int
panoramaShownPreviously bool
Résultat DataRow

previousImage() public méthode

public previousImage ( int step, bool panoramaShownPreviously, bool setCurrentImage ) : DataRow
step int
panoramaShownPreviously bool
setCurrentImage bool
Résultat DataRow

rateImage() public méthode

public rateImage ( int rating ) : void
rating int
Résultat void

readMetadataImage() public méthode

public readMetadataImage ( ) : void
Résultat void

renameFile() public méthode

public renameFile ( ) : void
Résultat void

resizeRatio() public méthode

public resizeRatio ( int rotate ) : double
rotate int
Résultat double

rotateImage() public méthode

public rotateImage ( int deg ) : void
deg int
Résultat void

saveDebug() public méthode

public saveDebug ( ) : string
Résultat string

setHistory() public méthode

public setHistory ( List history, int offset ) : void
history List
offset int
Résultat void

setTimerInterval() public méthode

public setTimerInterval ( ) : void
Résultat void

showImage() public méthode

public showImage ( bool animated ) : void
animated bool
Résultat void

showInfoOnMonitor() public méthode

public showInfoOnMonitor ( string info ) : string
info string
Résultat string

showInfoOnMonitor() public méthode

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

showInfoOnMonitor() public méthode

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

showUpdateInfo() public méthode

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

startTimer() public méthode

public startTimer ( ) : void
Résultat void

timer_Tick() public méthode

public timer_Tick ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

trySetNextImage() public méthode

public trySetNextImage ( long seedImageId ) : bool
seedImageId long
Résultat bool

Property Details

browser public_oe property

public System.Windows.Forms.WebBrowser browser
Résultat System.Windows.Forms.WebBrowser

currentImage public_oe property

public DataRow,System.Data currentImage
Résultat System.Data.DataRow

history public_oe property

public List history
Résultat List

historyPointer public_oe property

public int historyPointer
Résultat int

info public_oe property

public string info
Résultat string

offset public_oe property

public int offset
Résultat int

panoramaPart public_oe property

public bool panoramaPart
Résultat bool

paused public_oe property

public bool paused
Résultat bool

quickMetadata public_oe property

public MetadataTemplate quickMetadata
Résultat MetadataTemplate

seedImageId public_oe property

public long seedImageId
Résultat long

timer public_oe property

public System.Windows.Forms.Timer timer
Résultat System.Windows.Forms.Timer