C# Class RPS.Monitor

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: marijnkampf/Random-Photo-Screensaver

Public Properties

Property 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

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

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

InvokeScript() public method

public InvokeScript ( string script, string parameters ) : Object
script string
parameters string
return Object

Monitor() public method

public Monitor ( IntPtr previewHwnd, int id, Screensaver screensaver ) : System
previewHwnd System.IntPtr
id int
screensaver Screensaver
return System

Monitor() public method

public Monitor ( Rectangle Bounds, int id, Screensaver screensaver ) : System
Bounds System.Drawing.Rectangle
id int
screensaver Screensaver
return System

Monitor() public method

public Monitor ( int id, Screensaver screensaver ) : System
id int
screensaver Screensaver
return System

NoImagesFoundMessage() public static method

public static NoImagesFoundMessage ( bool readOnly ) : string
readOnly bool
return string

RunningFromRPS() public method

public RunningFromRPS ( ) : bool
return bool

backupImageCheck() public method

public backupImageCheck ( bool backItUp ) : bool
backItUp bool
return bool

defaultShowHide() public method

public defaultShowHide ( ) : void
return void

downloadProgressIndicator() public method

public downloadProgressIndicator ( int i ) : void
i int
return void

fileExistsOnDisk() public method

public fileExistsOnDisk ( DataRow dr ) : bool
dr System.Data.DataRow
return bool

hideUpdateInfo() public method

public hideUpdateInfo ( ) : void
return void

historyAdd() public method

public historyAdd ( long id ) : void
id long
return void

historyLastEntries() public method

public historyLastEntries ( int count ) : List
count int
return List

imageId() public method

public imageId ( ) : long
return long

imagePath() public method

public imagePath ( ) : string
return string

isMonitor0PanoramaImage() public method

public isMonitor0PanoramaImage ( bool setAsCurrent ) : bool
setAsCurrent bool
return bool

jsOverrideTimerInterval() public method

public jsOverrideTimerInterval ( float duration ) : void
duration float
return void

nextImage() public method

public nextImage ( int step, bool panoramaShownPreviously ) : DataRow
step int
panoramaShownPreviously bool
return System.Data.DataRow

offsetImage() public method

public offsetImage ( int i ) : DataRow
i int
return System.Data.DataRow

previousImage() public method

public previousImage ( int step, bool panoramaShownPreviously ) : DataRow
step int
panoramaShownPreviously bool
return DataRow

previousImage() public method

public previousImage ( int step, bool panoramaShownPreviously, bool setCurrentImage ) : DataRow
step int
panoramaShownPreviously bool
setCurrentImage bool
return DataRow

rateImage() public method

public rateImage ( int rating ) : void
rating int
return void

readMetadataImage() public method

public readMetadataImage ( ) : void
return void

renameFile() public method

public renameFile ( ) : void
return void

resizeRatio() public method

public resizeRatio ( int rotate ) : double
rotate int
return double

rotateImage() public method

public rotateImage ( int deg ) : void
deg int
return void

saveDebug() public method

public saveDebug ( ) : string
return string

setHistory() public method

public setHistory ( List history, int offset ) : void
history List
offset int
return void

setTimerInterval() public method

public setTimerInterval ( ) : void
return void

showImage() public method

public showImage ( bool animated ) : void
animated bool
return void

showInfoOnMonitor() public method

public showInfoOnMonitor ( string info ) : string
info string
return string

showInfoOnMonitor() public method

public showInfoOnMonitor ( string info, bool highPriority ) : string
info string
highPriority bool
return string

showInfoOnMonitor() public method

public showInfoOnMonitor ( string info, bool highPriority, bool fade ) : string
info string
highPriority bool
fade bool
return string

showUpdateInfo() public method

public showUpdateInfo ( string info ) : void
info string
return void

startTimer() public method

public startTimer ( ) : void
return void

timer_Tick() public method

public timer_Tick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

trySetNextImage() public method

public trySetNextImage ( long seedImageId ) : bool
seedImageId long
return bool

Property Details

browser public_oe property

public System.Windows.Forms.WebBrowser browser
return System.Windows.Forms.WebBrowser

currentImage public_oe property

public DataRow,System.Data currentImage
return System.Data.DataRow

history public_oe property

public List history
return List

historyPointer public_oe property

public int historyPointer
return int

info public_oe property

public string info
return string

offset public_oe property

public int offset
return int

panoramaPart public_oe property

public bool panoramaPart
return bool

paused public_oe property

public bool paused
return bool

quickMetadata public_oe property

public MetadataTemplate quickMetadata
return MetadataTemplate

seedImageId public_oe property

public long seedImageId
return long

timer public_oe property

public System.Windows.Forms.Timer timer
return System.Windows.Forms.Timer