C# Class AutoWikiBrowser.AWBWebBrowser

Inheritance: System.Windows.Forms.WebBrowser
显示文件 Open project: reedy/AutoWikiBrowser

Public Methods

Method Description
CopySelectedText ( ) : void

Copies the selected text (if any) to the clipboard

Navigate ( string urlString ) : void
PreProcessMessage ( Message &msg ) : bool
Refresh ( ) : void
TextSelected ( ) : bool

Returns whether there is currently any text selected Only works if Microsoft.mshtml.dll is available Check of Globals property must be in separate method to the IHTMLDocument2 code Further, on some systems even when Assembly can be loaded, it still doesn't work so require additional try/catch

Private Methods

Method Description
SelectedText ( ) : string
TextSelectedChecked ( ) : bool

Returns whether there is currently any text selected Only works if Microsoft.mshtml.dll is available

Method Details

CopySelectedText() public method

Copies the selected text (if any) to the clipboard
public CopySelectedText ( ) : void
return void

Navigate() public method

public Navigate ( string urlString ) : void
urlString string
return void

PreProcessMessage() public method

public PreProcessMessage ( Message &msg ) : bool
msg System.Windows.Forms.Message
return bool

Refresh() public method

public Refresh ( ) : void
return void

TextSelected() public method

Returns whether there is currently any text selected Only works if Microsoft.mshtml.dll is available Check of Globals property must be in separate method to the IHTMLDocument2 code Further, on some systems even when Assembly can be loaded, it still doesn't work so require additional try/catch
public TextSelected ( ) : bool
return bool