C# Class WikiFunctions.Disambiguation.DabForm

Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: reedy/AutoWikiBrowser Class Usage Examples

Public Properties

Property Type Description
Abort bool

Public Methods

Method Description
DabForm ( Session session ) : System
Disambiguate ( string articleText, string articleTitle, string dabLink, string dabVariants, int contextChars, bool botMode, bool &skip ) : string

Displays a form that promts user for disambiguation if no disambiguation needed, immediately returns

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DabForm_KeyPress ( object sender, KeyPressEventArgs e ) : void
DabForm_Load ( object sender, EventArgs e ) : void
DabForm_Move ( object sender, EventArgs e ) : void
DabForm_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

OnUserInput ( object sender, EventArgs e ) : void
btnArticle_Click ( object sender, EventArgs e ) : void
btnResetAll_Click ( object sender, EventArgs e ) : void
btnUndoAll_Click ( object sender, EventArgs e ) : void
editInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
unwatchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
watchToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

DabForm() public method

public DabForm ( Session session ) : System
session Session
return System

Disambiguate() public method

Displays a form that promts user for disambiguation if no disambiguation needed, immediately returns
public Disambiguate ( string articleText, string articleTitle, string dabLink, string dabVariants, int contextChars, bool botMode, bool &skip ) : string
articleText string The wiki text of the article.
articleTitle string Title of the article
dabLink string link to be disambiguated
dabVariants string variants of disambiguation
contextChars int number of chars each side from link in the context box
botMode bool whether AWB saves pages automatically
skip bool returns true when no disambiguation made
return string

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

Property Details

Abort public_oe property

if true, all processing should be immediately halted
public bool Abort
return bool