mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-23 00:46:03 +01:00
d90340efbe
- In the New VM wizard, the boot mode control is only visible for Naples or greater hosts - In the Import wizard, I had moved the boot mode options to a separate page, added after the target selection page, to allow the version check. The new "Boot options" page is only added for Naples or greater hosts. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
53 lines
1.4 KiB
C#
53 lines
1.4 KiB
C#
using XenAdmin.Controls;
|
|
|
|
namespace XenAdmin.Wizards.ImportWizard
|
|
{
|
|
public partial class ImportBootOptionPage : XenTabPage
|
|
{
|
|
public ImportBootOptionPage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
#region Base class (XenTabPage) overrides
|
|
|
|
/// <summary>
|
|
/// Gets the page's title (headline)
|
|
/// </summary>
|
|
public override string PageTitle { get { return Messages.IMPORT_SELECT_BOOT_OPTIONS_PAGE_TITLE; } }
|
|
|
|
/// <summary>
|
|
/// Gets the page's label in the (left hand side) wizard progress panel
|
|
/// </summary>
|
|
public override string Text { get { return Messages.IMPORT_SELECT_BOOT_OPTIONS_PAGE_TEXT; } }
|
|
|
|
/// <summary>
|
|
/// Gets the value by which the help files section for this page is identified
|
|
/// </summary>
|
|
public override string HelpID { get { return "VMConfig"; } }
|
|
|
|
protected override bool ImplementsIsDirty()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void PageLoadedCore(PageLoadedDirection direction)
|
|
{
|
|
|
|
}
|
|
|
|
public override void PopulatePage()
|
|
{
|
|
bootModesControl1.CheckBIOSBootMode();
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Accessors
|
|
|
|
public Actions.VMActions.BootMode SelectedBootMode { get { return bootModesControl1.SelectedOption; } }
|
|
|
|
#endregion
|
|
}
|
|
}
|