C# Class Sample.MainForm

显示文件 Open project: abbyysdk/ocrsdk.com

Public Methods

Method Description
MainForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

Main ( ) : void
addLineItemRow ( string index, string name, string total, bool isHeader, int row ) : void
addTaxFieldRow ( string index, string name, string value, string rate, bool isHeader, int row ) : void
browseButton_Click ( object sender, EventArgs e ) : void
clearPreviousResults ( ) : void
createLabel ( string text, ContentAlignment align, bool isHeader ) : Label
fieldLabel_Click ( object sender, EventArgs e ) : void
fillCountryComboBox ( ) : void
fillReceiptFields ( string result ) : void
fillReceiptLineItems ( XmlNode lineItemsNode ) : void
fillTaxField ( XmlNode taxFieldNode ) : void
initActiveReceiptField ( ) : void
initDefaults ( ) : bool
initReceiptCountries ( ) : void
mainForm_Shown ( object sender, EventArgs e ) : void
normalizeCoordinates ( int &left, int &right ) : void
parametersChanged ( object sender, EventArgs e ) : void
receiptPanel_Resize ( object sender, EventArgs e ) : void
refreshGraphics ( ) : void
refreshReceipt ( ) : void
restoreDefaultLabelsColors ( ) : void
scaleReceiptImage ( Image newImage ) : void
scaleSourceImage ( Image newImage ) : void
showPrompt ( string prompt, Color color ) : void
showReceipt ( ) : void
sourceDataSplitContainerPanel2_Resize ( object sender, EventArgs e ) : void
sourceFilePanel_Resize ( object sender, EventArgs e ) : void
startRecognition_Click ( object sender, EventArgs e ) : void
textPanel_Resize ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

MainForm() public method

public MainForm ( ) : System
return System