C# Class Yaircc.FavouriteServersDialog

Afficher le fichier Open project: rastating/yaircc Class Usage Examples

Private Properties

Свойство Type Description
AddCommandButton_Click void
AddServer void
AddServerButton_Click void
ClearControls void
CloseButton_Click void
CommandsListBox_SelectedIndexChanged void
ConnectButton_Click void
EditCommandButton_Click void
FavouriteServersDialog_FormClosing void
FavouriteServersDialog_Shown void
HandleChange void
InitializeComponent void
MoveDownButton_Click void
MoveUpButton_Click void
RemoveCommandButton_Click void
RemoveServerButton_Click void
Save bool
SaveButton_Click void
ServerTreeView_AfterSelect void
ServerTreeView_BeforeSelect void
ToggleEnabledStateOfNodeControls void
ValidateAddress bool
ValidateAlias bool
ValidateData bool
ValidateNickName bool

Méthodes publiques

Méthode Description
FavouriteServersDialog ( List openConnections ) : System

Initialises a new instance of the FavouriteServersDialog class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Processes a command key.

Private Methods

Méthode Description
AddCommandButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

AddServer ( Server server, bool select ) : void

Adds a server to the tree view.

AddServerButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

ClearControls ( ) : void

Remove the data from the user editable controls.

CloseButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

CommandsListBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of System.Windows.Forms.ListBox.

ConnectButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

EditCommandButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

FavouriteServersDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void

Handles the FormClosing event of System.Windows.Forms.Form.

FavouriteServersDialog_Shown ( object sender, EventArgs e ) : void

Handles the Shown event of System.Windows.Forms.Form.

HandleChange ( object sender, EventArgs e ) : void

Handle a change to a user editable control.

InitializeComponent ( ) : void

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

MoveDownButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

MoveUpButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

RemoveCommandButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

RemoveServerButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

Save ( ) : bool

Save the changes made to the current server.

SaveButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of System.Windows.Forms.Button.

ServerTreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Handles the AfterSelect event of System.Windows.Forms.TreeView.

ServerTreeView_BeforeSelect ( object sender, TreeViewCancelEventArgs e ) : void

Handles the BeforeSelect event of System.Windows.Forms.TreeView.

ToggleEnabledStateOfNodeControls ( bool enabled ) : void

Toggle the enabled state of the controls that require a valid server node.

ValidateAddress ( string address, Server server ) : bool

Verifies that the address entered is valid.

ValidateAlias ( string alias, Server server ) : bool

Verifies that the alias entered is valid.

ValidateData ( Server server ) : bool

Verifies all the data entered into the input controls is valid.

ValidateNickName ( string nickName ) : bool

Verifies that the nick name entered is valid.

Method Details

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

FavouriteServersDialog() public méthode

Initialises a new instance of the FavouriteServersDialog class.
public FavouriteServersDialog ( List openConnections ) : System
openConnections List The connections currently open in yaircc.
Résultat System

ProcessCmdKey() protected méthode

Processes a command key.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message A System.Windows.Forms.Message, passed by reference, that represents the Win32 message to process.
keyData Keys One of the System.Windows.Forms.Keys values that represents the key to process.
Résultat bool