C# Class BF2Statistics.MedalData.ObjectStatForm

Datei anzeigen Open project: BF2Statistics/ControlCenter

Protected Properties

Property Type Description
Node TreeNode
Obj ObjectStat

Public Methods

Method Description
GetCondition ( ) : Condition

Returns the objectstat condition

ObjectStatForm ( ) : System

Constructor used when creating a new ObjectStat

ObjectStatForm ( TreeNode Node ) : System

Construct used when editing an object stat

Save ( ) : void

Converts the data in the form into a condition, and closes the form

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

Used to hide the value box if the selected condition doesnt support a value.

Hms2SecBtn_Click ( object sender, EventArgs e ) : void

Shows the Hours/Minutes/Seconds to Seconds form

InitializeComponent ( ) : void

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

ObjectSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void

Finish button click. Calls on the Save() method

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

GetCondition() public method

Returns the objectstat condition
public GetCondition ( ) : Condition
return Condition

ObjectStatForm() public method

Constructor used when creating a new ObjectStat
public ObjectStatForm ( ) : System
return System

ObjectStatForm() public method

Construct used when editing an object stat
public ObjectStatForm ( TreeNode Node ) : System
Node TreeNode
return System

Save() public method

Converts the data in the form into a condition, and closes the form
public Save ( ) : void
return void

Property Details

Node protected_oe property

protected TreeNode Node
return TreeNode

Obj protected_oe property

Will contain an ObjectStat condition during editing.
protected ObjectStat,BF2Statistics.MedalData Obj
return ObjectStat