using XenAdmin.Controls;
namespace XenAdmin.Wizards.ImportWizard
{
public partial class ImportBootOptionPage : XenTabPage
{
public ImportBootOptionPage()
{
InitializeComponent();
}
#region Base class (XenTabPage) overrides
///
/// Gets the page's title (headline)
///
public override string PageTitle { get { return Messages.IMPORT_SELECT_BOOT_OPTIONS_PAGE_TITLE; } }
///
/// Gets the page's label in the (left hand side) wizard progress panel
///
public override string Text { get { return Messages.IMPORT_SELECT_BOOT_OPTIONS_PAGE_TEXT; } }
///
/// Gets the value by which the help files section for this page is identified
///
public override string HelpID { get { return "VMConfig"; } }
protected override bool ImplementsIsDirty()
{
return true;
}
protected override void PageLoadedCore(PageLoadedDirection direction)
{
if (direction == PageLoadedDirection.Forward)
bootModesControl1.Connection = Connection;
}
public override void PopulatePage()
{
bootModesControl1.CheckBIOSBootMode();
}
#endregion
#region Accessors
public Actions.VMActions.BootMode SelectedBootMode { get { return bootModesControl1.SelectedOption; } }
#endregion
}
}