C# Class At.FF.Krems.FullscreenBrowser.GeckoBrowser

The gecko browser.
Inheritance: System.Windows.Forms.Form, IGeckoBrowser
Mostrar archivo Open project: Grisu-NOE/Infoscreen

Private Properties

Property Type Description
BrowserOnDomContentLoaded void
BrowserOnDomKeyDown void
BrowserOnDomMouseScroll void
GeckoBrowserHandleCreated void
Initialize void
InitializeComponent void

Public Methods

Method Description
CloseBrowser ( bool onlyIfIsAlternativeWindow = false ) : void

Closes the browser.

GeckoBrowser ( ) : System

Initializes a new instance of the GeckoBrowser class.

Init ( ) : void

Initializes this instance.

Reset ( ) : void

Resets this instance.

ResetZoom ( ) : void

Resets the zoom.

Setup ( Window setting ) : void

Setups the specified setting.

StartOrResetBrowser ( bool ignoreAutoStart = false, bool disableReload = false, bool onlyIfIsEmergencyWindow = false, bool ignoreVisibility = false ) : void

Starts or resets the browser.

ZoomIn ( ) : void

The zoom in.

ZoomOut ( ) : void

The zoom out.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Raises the E:FormClosing event.

Private Methods

Method Description
BrowserOnDomContentLoaded ( object sender, Gecko.DomEventArgs domEventArgs ) : void

Performs actions on browser when DOM content loaded.

BrowserOnDomKeyDown ( object sender, Gecko.DomKeyEventArgs domKeyEventArgs ) : void

The browser on dom key down.

BrowserOnDomMouseScroll ( object sender, Gecko.DomMouseEventArgs domMouseEventArgs ) : void

Browsers the on DOM mouse scroll.

GeckoBrowserHandleCreated ( object sender, EventArgs e ) : void

The gecko browser handle created.

Initialize ( bool force = false ) : void

Initializes this instance.

InitializeComponent ( ) : void

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

Method Details

CloseBrowser() public method

Closes the browser.
public CloseBrowser ( bool onlyIfIsAlternativeWindow = false ) : void
onlyIfIsAlternativeWindow bool if set to true [only if is alternative window].
return void

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

GeckoBrowser() public method

Initializes a new instance of the GeckoBrowser class.
public GeckoBrowser ( ) : System
return System

Init() public method

Initializes this instance.
public Init ( ) : void
return void

OnFormClosing() protected method

Raises the E:FormClosing event.
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs The instance containing the event data.
return void

Reset() public method

Resets this instance.
public Reset ( ) : void
return void

ResetZoom() public method

Resets the zoom.
public ResetZoom ( ) : void
return void

Setup() public method

Setups the specified setting.
public Setup ( Window setting ) : void
setting At.FF.Krems.Configuration.XML.Window The setting.
return void

StartOrResetBrowser() public method

Starts or resets the browser.
public StartOrResetBrowser ( bool ignoreAutoStart = false, bool disableReload = false, bool onlyIfIsEmergencyWindow = false, bool ignoreVisibility = false ) : void
ignoreAutoStart bool if set to true ignores flag of automatic start.
disableReload bool if set to true disable reload.
onlyIfIsEmergencyWindow bool if set to true [only if is emergency window].
ignoreVisibility bool if set to true [ignore visibility].
return void

ZoomIn() public method

The zoom in.
public ZoomIn ( ) : void
return void

ZoomOut() public method

The zoom out.
public ZoomOut ( ) : void
return void