C# Class VietOCR.NET.GUIWithFile

Inheritance: VietOCR.NET.GUI
Show file Open project: nguyenq/VietOCR3.NET

Public Methods

Method Description
GUIWithFile ( ) : Microsoft.Win32

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

LoadRegistryInfo ( RegistryKey regkey ) : void
OnLoad ( EventArgs ea ) : void
SaveRegistryInfo ( RegistryKey regkey ) : void
clearStack ( ) : void
displayImage ( ) : void
openFile ( string selectedFile ) : void

Opens image or text file.

openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAction ( ) : bool
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setButton ( ) : void
toolStripComboBoxPageNum_SelectedIndexChanged ( object sender, EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

MenuRecentFilesOnClick ( object obj, EventArgs ea ) : void
SaveFileDlg ( ) : bool
SaveTextFile ( ) : bool
backgroundWorkerLoad_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorkerLoad_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
loadImage ( FileInfo imageFile ) : void
updateMRUList ( String fileName ) : void

Update MRU List.

updateMRUMenu ( ) : void

Update MRU Submenu.

Method Details

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

GUIWithFile() public method

public GUIWithFile ( ) : Microsoft.Win32
return Microsoft.Win32

LoadRegistryInfo() protected method

protected LoadRegistryInfo ( RegistryKey regkey ) : void
regkey Microsoft.Win32.RegistryKey
return void

OnLoad() protected method

protected OnLoad ( EventArgs ea ) : void
ea System.EventArgs
return void

SaveRegistryInfo() protected method

protected SaveRegistryInfo ( RegistryKey regkey ) : void
regkey Microsoft.Win32.RegistryKey
return void

clearStack() protected method

protected clearStack ( ) : void
return void

displayImage() protected method

protected displayImage ( ) : void
return void

openFile() protected method

Opens image or text file.
protected openFile ( string selectedFile ) : void
selectedFile string
return void

openToolStripMenuItem_Click() protected method

protected openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

saveAction() protected method

protected saveAction ( ) : bool
return bool

saveAsToolStripMenuItem_Click() protected method

protected saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

saveToolStripMenuItem_Click() protected method

protected saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

setButton() protected method

protected setButton ( ) : void
return void

toolStripComboBoxPageNum_SelectedIndexChanged() protected method

protected toolStripComboBoxPageNum_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void