C# Class XenAdmin.Wizards.HAWizard_Pages.AssignPriorities

Inheritance: XenAdmin.Controls.XenTabPage
Afficher le fichier Open project: xenserver/xenadmin Class Usage Examples

Private Properties

Свойство Type Description
AddVmRow void
DeregisterEvents void
IsHaActivatedFirstTime bool
PopulateVMs void
RegisterEvents void
RemoveVmRow void
StartNtolUpdate void
StopNtolUpdate void
UpdateMenuItems void
UpdateVMsAgility void
VM_CollectionChanged void
dataGridViewVms_KeyDown void
dataGridViewVms_SelectionChanged void
findItemFromVM VmWithSettingsRow
getCurrentSettings VM.HA_Restart_Priority>.Dictionary
haNtolIndicator_UpdateInProgressChanged void
linkLabelTellMeMore_LinkClicked void
m_dropDownButtonRestartPriority_Click void
nudOrder_ValueChanged void
nudStartDelay_ValueChanged void
priority_Click void
updateButtons void
vm_PropertyChanged void
worker_DoWork object
worker_RunWorkerCompleted void

Méthodes publiques

Méthode Description
AssignPriorities ( ) : System
EnableNext ( ) : bool
GetCurrentStartupOptions ( ) : VMStartupOptions>.Dictionary

Gets the current (uncommitted) VM startup options. Must be called on the GUI thread.

PageCancelled ( ) : void
PageLeave ( PageLoadedDirection direction, bool &cancel ) : void
PageLoaded ( PageLoadedDirection direction ) : void
SelectDefaultControl ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AddVmRow ( XenAPI.VM vm ) : void
DeregisterEvents ( ) : void
IsHaActivatedFirstTime ( IEnumerable vms ) : bool
PopulateVMs ( ) : void

Must be called on the event thread.

RegisterEvents ( ) : void
RemoveVmRow ( XenAPI.VM vm ) : void
StartNtolUpdate ( ) : void
StopNtolUpdate ( ) : void
UpdateMenuItems ( ) : void
UpdateVMsAgility ( IEnumerable vms ) : void

Starts a new background thread that updates the displayed agility status for each VM.

VM_CollectionChanged ( object sender, CollectionChangeEventArgs e ) : void

Called when the current IXenConnection's VM dictionary changes.

dataGridViewVms_KeyDown ( object sender, KeyEventArgs e ) : void
dataGridViewVms_SelectionChanged ( object sender, EventArgs e ) : void
findItemFromVM ( XenAPI.VM vm ) : VmWithSettingsRow

Finds the ListViewItem for the given VM. Will return null if no corresponding item could be found. Must be called on the event thread.

getCurrentSettings ( ) : VM.HA_Restart_Priority>.Dictionary

Gets the current (uncommitted) VM restart priorities. Must be called on the GUI thread.

haNtolIndicator_UpdateInProgressChanged ( object sender, EventArgs e ) : void
linkLabelTellMeMore_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
m_dropDownButtonRestartPriority_Click ( object sender, EventArgs e ) : void
nudOrder_ValueChanged ( object sender, EventArgs e ) : void
nudStartDelay_ValueChanged ( object sender, EventArgs e ) : void
priority_Click ( object sender, EventArgs e ) : void

Called when the user clicks one of the restart priorities in the context menu.

updateButtons ( ) : void
vm_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
worker_DoWork ( object sender, object arg ) : object
worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

AssignPriorities() public méthode

public AssignPriorities ( ) : System
Résultat System

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

EnableNext() public méthode

public EnableNext ( ) : bool
Résultat bool

GetCurrentStartupOptions() public méthode

Gets the current (uncommitted) VM startup options. Must be called on the GUI thread.
public GetCurrentStartupOptions ( ) : VMStartupOptions>.Dictionary
Résultat VMStartupOptions>.Dictionary

PageCancelled() public méthode

public PageCancelled ( ) : void
Résultat void

PageLeave() public méthode

public PageLeave ( PageLoadedDirection direction, bool &cancel ) : void
direction PageLoadedDirection
cancel bool
Résultat void

PageLoaded() public méthode

public PageLoaded ( PageLoadedDirection direction ) : void
direction PageLoadedDirection
Résultat void

SelectDefaultControl() public méthode

public SelectDefaultControl ( ) : void
Résultat void