本文整理汇总了C#中Settings.CreateBootMenu方法的典型用法代码示例。如果您正苦于以下问题:C# Settings.CreateBootMenu方法的具体用法?C# Settings.CreateBootMenu怎么用?C# Settings.CreateBootMenu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Settings
的用法示例。
在下文中一共展示了Settings.CreateBootMenu方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnProxSubmitDefault_Click
public void btnProxSubmitDefault_Click(object sender, EventArgs e)
{
Settings bootMenu = new Settings();
bootMenu.DebugPwd = proxconsoleSha.Value;
bootMenu.AddPwd = proxaddhostSha.Value;
bootMenu.OndPwd = proxondsha.Value;
bootMenu.DiagPwd = proxdiagsha.Value;
bootMenu.CreateBootMenu(bootMenu, ddlBiosKernel.SelectedValue, ddlBiosBootImage.SelectedValue,"bios");
bootMenu.CreateBootMenu(bootMenu, ddlEfi32Kernel.SelectedValue, ddlEfi32BootImage.SelectedValue, "efi32");
bootMenu.CreateBootMenu(bootMenu, ddlEfi64Kernel.SelectedValue, ddlEfi64BootImage.SelectedValue, "efi64");
Master.Msgbox(Utility.Message);
}
示例2: btnSubmitDefault_Click
public void btnSubmitDefault_Click(object sender, EventArgs e)
{
Settings bootMenu = new Settings();
bootMenu.DebugPwd = consoleSha.Value;
bootMenu.AddPwd = addhostSha.Value;
bootMenu.OndPwd = ondsha.Value;
bootMenu.DiagPwd = diagsha.Value;
bootMenu.CreateBootMenu(bootMenu, ddlHostKernel.SelectedValue, ddlHostBootImage.SelectedValue,"noprox");
Master.Msgbox(Utility.Message);
}