C# Класс BF2Statistics.MedalData.ConditionListForm

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Child ConditionForm
List ConditionList
Node TreeNode
OrigList ConditionList

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

ConditionListForm() публичный Метод

Constructor
public ConditionListForm ( ConditionType Type ) : System
Type ConditionType
Результат System

ConditionListForm() публичный Метод

Constructor
public ConditionListForm ( TreeNode Node ) : System
Node TreeNode
Результат System

DeleteCriteria() публичный Метод

Deletes the selected criteria node
public DeleteCriteria ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

EditCriteria() публичный Метод

Brings up the Criteria Editor for an Award
public EditCriteria ( ) : void
Результат void

GetCondition() публичный Метод

Returns the condition list in its current state
public GetCondition ( ) : Condition
Результат Condition

Описание свойств

Child защищенное свойство

Our child form if applicable
protected ConditionForm,BF2Statistics.MedalData Child
Результат ConditionForm

List защищенное свойство

The condition list being edited
protected ConditionList,BF2Statistics.MedalData List
Результат ConditionList

Node защищенное свойство

TreeNode holding variable
protected TreeNode Node
Результат TreeNode

OrigList защищенное свойство

A clone of the original Condition List
protected ConditionList,BF2Statistics.MedalData OrigList
Результат ConditionList