C# Class SANTA.UI.Settings

Mostrar archivo Open project: siegleal/iSanta

Public Methods

Method Description
Settings ( Controller uic, ConfigReader configReader ) : System

Construct a Settings form with no weapon list

Settings ( Controller uic, ConfigReader configReader, List weapons ) : System

Construct a Settings form.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CloseAndSignalExit ( ) : void
InitializeComponent ( ) : void

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

InitializeValues ( ) : void
Settings_Closing ( object sender, CancelEventArgs e ) : void
ValidateSettings ( ) : bool
btnCancel_Click ( object sender, EventArgs e ) : void
btnDBLocation_Click ( object sender, EventArgs e ) : void
btnExcelTemplateLocation_Click ( object sender, EventArgs e ) : void
btnLogLocation_Click ( object sender, EventArgs e ) : void
btnReset_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
button_Add_Click ( object sender, EventArgs e ) : void

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

Settings() public method

Construct a Settings form with no weapon list
public Settings ( Controller uic, ConfigReader configReader ) : System
uic Controller Calling UIController
configReader ConfigReader A configuration reader
return System

Settings() public method

Construct a Settings form.
public Settings ( Controller uic, ConfigReader configReader, List weapons ) : System
uic Controller Calling UIController
configReader ConfigReader A configuration reader
weapons List The current weapon list
return System