C# Class WikiFunctions.Disambiguation.DabControl

Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: reedy/AutoWikiBrowser Class Usage Examples

Public Properties

Property Type Description
ArticleText string
Match Match
Surroundings string
SurroundingsStart int
Variants List

Public Methods

Method Description
DabControl ( ) : System
DabControl ( string articleText, Match match, List variants, int contextChars ) : System
Reset ( ) : void

sets disabmiguation back to 'no change' state

Undo ( ) : void

undoes all manual changes in edit box

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ComboBoxChanged ( int n ) : void
DabControl_Load ( object sender, EventArgs e ) : void

most preparations are done here

InitializeComponent ( ) : void

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

btnFlip_Click ( object sender, EventArgs e ) : void
btnReset_Click ( object sender, EventArgs e ) : void
btnUndo_Click ( object sender, EventArgs e ) : void
btnUnpipe_Click ( object sender, EventArgs e ) : void
cmboChoice_SelectedIndexChanged ( object sender, EventArgs e ) : void
txtCorrection_TextChanged ( object sender, EventArgs e ) : void

Method Details

DabControl() public method

public DabControl ( ) : System
return System

DabControl() public method

public DabControl ( string articleText, Match match, List variants, int contextChars ) : System
articleText string
match Match
variants List
contextChars int
return System

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

Reset() public method

sets disabmiguation back to 'no change' state
public Reset ( ) : void
return void

Undo() public method

undoes all manual changes in edit box
public Undo ( ) : void
return void

Property Details

ArticleText public_oe property

public string ArticleText
return string

Match public_oe property

public Match Match
return Match

Surroundings public_oe property

public string Surroundings
return string

SurroundingsStart public_oe property

public int SurroundingsStart
return int

Variants public_oe property

public List Variants
return List