C# Class BF2Statistics.MedalData.ConditionListForm

Afficher le fichier Open project: BF2Statistics/ControlCenter

Protected Properties

Свойство Type Description
Child ConditionForm
List ConditionList
Node TreeNode
OrigList ConditionList

Méthodes publiques

Méthode Description
ConditionListForm ( ConditionType Type ) : System

Constructor

ConditionListForm ( TreeNode Node ) : System

Constructor

DeleteCriteria ( ) : void

Deletes the selected criteria node

EditCriteria ( ) : void

Brings up the Criteria Editor for an Award

GetCondition ( ) : Condition

Returns the condition list in its current state

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AddNewCriteria ( object sender, FormClosingEventArgs e ) : void

Adds a new criteria to an award from the Add Critera Dialog

CancelBtn_Click ( object sender, EventArgs e ) : void
Child_FormClosing ( object sender, FormClosingEventArgs e ) : void
ConditionTree_AfterSelect ( object sender, TreeViewEventArgs e ) : void

This method builds the correct context menu options for the selected node

ConditionTree_BeforeCollapse ( object sender, TreeViewCancelEventArgs e ) : void

Disables collapsing of condition tree nodes

ConditionTree_KeyDown ( object sender, KeyEventArgs e ) : void

Keyboard events

ConditionTree_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void

Double click on a node... opens the edit criter menu

DeleteCriteria_Click ( object sender, EventArgs e ) : void

Delete Criteria menu item click

EditCriteria_Click ( object sender, EventArgs e ) : void

Edit Criteria menu item click

EnableValue_CheckedChanged ( object sender, EventArgs e ) : void
Initialize ( ) : void

Intializes the condition tree

InitializeComponent ( ) : void

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

NewCriteria_Click ( object sender, EventArgs e ) : void

New Criteria menu item click

SaveBtn_Click ( object sender, EventArgs e ) : void
UndoChanges_Click ( object sender, EventArgs e ) : void

Undo Changes menu item click

UpdateRoot ( ) : void
ValueBox_ValueChanged ( object sender, EventArgs e ) : void

Method Details

ConditionListForm() public méthode

Constructor
public ConditionListForm ( ConditionType Type ) : System
Type ConditionType
Résultat System

ConditionListForm() public méthode

Constructor
public ConditionListForm ( TreeNode Node ) : System
Node TreeNode
Résultat System

DeleteCriteria() public méthode

Deletes the selected criteria node
public DeleteCriteria ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

EditCriteria() public méthode

Brings up the Criteria Editor for an Award
public EditCriteria ( ) : void
Résultat void

GetCondition() public méthode

Returns the condition list in its current state
public GetCondition ( ) : Condition
Résultat Condition

Property Details

Child protected_oe property

Our child form if applicable
protected ConditionForm,BF2Statistics.MedalData Child
Résultat ConditionForm

List protected_oe property

The condition list being edited
protected ConditionList,BF2Statistics.MedalData List
Résultat ConditionList

Node protected_oe property

TreeNode holding variable
protected TreeNode Node
Résultat TreeNode

OrigList protected_oe property

A clone of the original Condition List
protected ConditionList,BF2Statistics.MedalData OrigList
Résultat ConditionList