C# Class BF2Statistics.DatabaseConfigForm

Inheritance: System.Windows.Forms.NativeForm
Mostrar archivo Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Property Type Description
DbMode DatabaseMode

Public Methods

Method Description
DatabaseConfigForm ( DatabaseMode Mode ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CancelBtn_Click ( object sender, EventArgs e ) : void

Event fired when the cancel button is clicked

InitializeComponent ( ) : void

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

NextBtn_Click ( object sender, EventArgs e ) : void

Event fired when the next button is clicked

SaveBtn_Click ( object sender, EventArgs e ) : void

Event fired when the save button is clicked

SetConfigSettings ( ) : bool

Sets the current config settings, but does not save the settings to the app.config file

ShowHideBtn_Click ( object sender, EventArgs e ) : void

Hides or shows the password characters

TestBtn_Click ( object sender, EventArgs e ) : void

Event fired when the Test button is clicked

TypeSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Event fired when the database type selection has changed

Method Details

DatabaseConfigForm() public method

public DatabaseConfigForm ( DatabaseMode Mode ) : System
Mode DatabaseMode
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

Property Details

DbMode protected_oe property

The database type we are working with (Stats or Gamespy)
protected DatabaseMode DbMode
return DatabaseMode