C# Class pGina.Plugin.UsernameMod.Configuration

Inheritance: System.Windows.Forms.Form
Mostra file Open project: MutonUfoAI/pgina Class Usage Examples

Public Methods

Method Description
Configuration ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Btn_help ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

btnAddRule_Click ( object sender, EventArgs e ) : void

Validates input and adds the rule to the ListOfRules. Displays warning if validation fails.

btnCancel_Click ( object sender, EventArgs e ) : void

Discards any changes without saving.

btnMove_Click ( object sender, EventArgs e ) : void

Called when either the up or down arrow is pressed. Determines which and updates the ListOfRules and ListView accordingly.

btnRemRule_Click ( object sender, EventArgs e ) : void

If a rule is selected in the rule list, it is removed from the ListOfRules, as well as ListView

btnSave_Click ( object sender, EventArgs e ) : void

Run when the save button is hit. If an error is encountered due to improper input, a prompt will be shown and the save/exit will be cancelled.

dropDownActionChange ( object sender, EventArgs e ) : void

Executed when the Action drop down box (rule list) is changed. Changes the forms.

resetForm ( ) : void

Resets the forms based on the action dropdown box (list of rules)

setForm ( string label1, string label2 ) : void
updateListView ( ) : void

Clears and reloads the list of rules.

Method Details

Configuration() public method

public Configuration ( ) : System
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