C# Class Spinnaker.Bridge.WinForms.WinFormsBrowserBridge

Inheritance: Spinnaker.Core.BrowserBridge
显示文件 Open project: Claytonious/spinnaker Class Usage Examples

Public Methods

Method Description
ExecuteScriptFunction ( string functionName ) : void
ExecuteScriptFunction ( string functionName, string arg ) : void
InvokeOnBrowserSafeThread ( System.Action a ) : void
WinFormsBrowserBridge ( System.Windows.Forms.WebBrowser browser ) : System

Protected Methods

Method Description
EnhanceDOM ( string viewFilename ) : void
LoadUrl ( Uri uri, System.Action onLoaded ) : void

Private Methods

Method Description
HandleDocumentCompleted ( object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e ) : void
HandleNavigated ( object sender, System.Windows.Forms.WebBrowserNavigatedEventArgs e ) : void
WinFormsBrowserBridge ( ) : System

Method Details

EnhanceDOM() protected method

protected EnhanceDOM ( string viewFilename ) : void
viewFilename string
return void

ExecuteScriptFunction() public method

public ExecuteScriptFunction ( string functionName ) : void
functionName string
return void

ExecuteScriptFunction() public method

public ExecuteScriptFunction ( string functionName, string arg ) : void
functionName string
arg string
return void

InvokeOnBrowserSafeThread() public method

public InvokeOnBrowserSafeThread ( System.Action a ) : void
a System.Action
return void

LoadUrl() protected method

protected LoadUrl ( Uri uri, System.Action onLoaded ) : void
uri System.Uri
onLoaded System.Action
return void

WinFormsBrowserBridge() public method

public WinFormsBrowserBridge ( System.Windows.Forms.WebBrowser browser ) : System
browser System.Windows.Forms.WebBrowser
return System