Property | Type | Description | |
---|---|---|---|
GameModeListView_Click | void | ||
GameModeListView_GotFocus | void | ||
GameModeListView_KeyDown | void | ||
GameModeListView_LostFocus | void | ||
GameModeListView_MouseDoubleClick | void | ||
GameModeListView_PreviewKeyDown | void | ||
Panel_ControlAdded | void |
Method | Description | |
---|---|---|
GameModeListView ( ) : System |
The default constructor.
|
Method | Description | |
---|---|---|
OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void |
Raises the Control.ControlAdded event. This wires up the required events for GameModeListViewItemBase view items, so that we can track focus, and perform required formatting. |
|
OnGotFocus ( |
Raises the Control.GotFocus event. This focuses the last focussed list view item. |
|
OnSelectedItemChanged ( |
Raises the SelectedItemChanged event.
|
|
OnSelectedItemChanged ( Nexus.Client.UI.Controls.SelectedItemEventArgs e ) : void |
Raises the SelectedItemChanged event.
|
Method | Description | |
---|---|---|
GameModeListView_Click ( object sender, |
Handles the Control.Click event of list view items. This selects the clicked item. |
|
GameModeListView_GotFocus ( object sender, |
Handles the Control.GotFocus event of list view items. This tracks the currently focussed item, and decorates the item to look focussed. |
|
GameModeListView_KeyDown ( object sender, |
Handles the Control.KeyDown event of list view items. This enables the use of the Enter key to select items. |
|
GameModeListView_LostFocus ( object sender, |
Handles the Control.LostFocus event of list view items. This tracks the currently focussed item, and decorates the item to look unfocussed. |
|
GameModeListView_MouseDoubleClick ( object sender, MouseEventArgs e ) : void |
Handles the Control.MouseDoubleClick event of list view items. This selects the clicked item. |
|
GameModeListView_PreviewKeyDown ( object sender, |
Handles the Control.PreviewKeyDown event of list view items. This enables the use of the Enter key to select items. |
|
Panel_ControlAdded ( object sender, System.Windows.Forms.ControlEventArgs e ) : void |
Handles the Control.ControlAdded event of flow layout panel. This ensures only GameModeListViewItemBase controls are added, and formats the items to fit into the list. |
protected OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void | ||
e | System.Windows.Forms.ControlEventArgs | The |
return | void |
protected OnGotFocus ( |
||
e | The |
|
return | void |
protected OnSelectedItemChanged ( |
||
p_lviSelected | The newly selected list view item. | |
return | void |
protected OnSelectedItemChanged ( Nexus.Client.UI.Controls.SelectedItemEventArgs e ) : void | ||
e | Nexus.Client.UI.Controls.SelectedItemEventArgs | The |
return | void |