C# Class PurplePen.ChangeMapFile

Inheritance: OkCancelDialog
Show file Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
mapFileNameTextBox System.Windows.Forms.TextBox

Public Methods

Method Description
ChangeMapFile ( ) : System
ShowOpenFileDialogOnly ( IWin32Window owner ) : DialogResult

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.

IsOK ( ) : bool
UpdateMapFile ( ) : void
UpdateOKButton ( ) : void
buttonChooseFile_Click ( object sender, EventArgs e ) : void
openFileDialog_FileOk ( object sender, CancelEventArgs e ) : void
textBoxDpi_TextChanged ( object sender, EventArgs e ) : void
textBoxScale_TextChanged ( object sender, EventArgs e ) : void

Method Details

ChangeMapFile() public method

public ChangeMapFile ( ) : System
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

ShowOpenFileDialogOnly() public method

public ShowOpenFileDialogOnly ( IWin32Window owner ) : DialogResult
owner IWin32Window
return DialogResult

Property Details

mapFileNameTextBox public property

public System.Windows.Forms.TextBox mapFileNameTextBox
return System.Windows.Forms.TextBox