mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
f30afbe1d2
The new logic takes also account of platform:secure-boot=auto. Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
225 lines
11 KiB
C#
225 lines
11 KiB
C#
using System.Drawing;
|
|
|
|
namespace XenAdmin.Wizards
|
|
{
|
|
partial class BootModesControl
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BootModesControl));
|
|
this.groupBoxBootMode = new System.Windows.Forms.GroupBox();
|
|
this.tableLayoutPanelBootMode = new System.Windows.Forms.TableLayoutPanel();
|
|
this.radioButtonBIOSBoot = new System.Windows.Forms.RadioButton();
|
|
this.imgBios = new System.Windows.Forms.PictureBox();
|
|
this.labelBios = new System.Windows.Forms.Label();
|
|
this.radioButtonUEFIBoot = new System.Windows.Forms.RadioButton();
|
|
this.imgUefi = new System.Windows.Forms.PictureBox();
|
|
this.labelUefi = new System.Windows.Forms.Label();
|
|
this.radioButtonUEFISecureBoot = new System.Windows.Forms.RadioButton();
|
|
this.imgSecureUefi = new System.Windows.Forms.PictureBox();
|
|
this.labelSecureUefi = new System.Windows.Forms.Label();
|
|
this.tableVtpmWarning = new System.Windows.Forms.TableLayoutPanel();
|
|
this.labelTpm = new System.Windows.Forms.Label();
|
|
this.imgTpm = new System.Windows.Forms.PictureBox();
|
|
this.groupBoxDevSecurity = new System.Windows.Forms.GroupBox();
|
|
this.checkBoxVtpm = new System.Windows.Forms.CheckBox();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.groupBoxBootMode.SuspendLayout();
|
|
this.tableLayoutPanelBootMode.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgBios)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgUefi)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgSecureUefi)).BeginInit();
|
|
this.tableVtpmWarning.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgTpm)).BeginInit();
|
|
this.groupBoxDevSecurity.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBoxBootMode
|
|
//
|
|
this.groupBoxBootMode.Controls.Add(this.tableLayoutPanelBootMode);
|
|
resources.ApplyResources(this.groupBoxBootMode, "groupBoxBootMode");
|
|
this.groupBoxBootMode.Name = "groupBoxBootMode";
|
|
this.groupBoxBootMode.TabStop = false;
|
|
//
|
|
// tableLayoutPanelBootMode
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanelBootMode, "tableLayoutPanelBootMode");
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.radioButtonBIOSBoot, 0, 0);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.imgBios, 1, 0);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.labelBios, 2, 0);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.radioButtonUEFIBoot, 0, 1);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.imgUefi, 1, 1);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.labelUefi, 2, 1);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.radioButtonUEFISecureBoot, 0, 2);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.imgSecureUefi, 1, 2);
|
|
this.tableLayoutPanelBootMode.Controls.Add(this.labelSecureUefi, 2, 2);
|
|
this.tableLayoutPanelBootMode.Name = "tableLayoutPanelBootMode";
|
|
//
|
|
// radioButtonBIOSBoot
|
|
//
|
|
resources.ApplyResources(this.radioButtonBIOSBoot, "radioButtonBIOSBoot");
|
|
this.radioButtonBIOSBoot.Name = "radioButtonBIOSBoot";
|
|
this.radioButtonBIOSBoot.UseVisualStyleBackColor = true;
|
|
this.radioButtonBIOSBoot.CheckedChanged += new System.EventHandler(this.radioButtonBIOSBoot_CheckedChanged);
|
|
//
|
|
// imgBios
|
|
//
|
|
resources.ApplyResources(this.imgBios, "imgBios");
|
|
this.imgBios.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.imgBios.Name = "imgBios";
|
|
this.imgBios.TabStop = false;
|
|
//
|
|
// labelBios
|
|
//
|
|
resources.ApplyResources(this.labelBios, "labelBios");
|
|
this.labelBios.Name = "labelBios";
|
|
//
|
|
// radioButtonUEFIBoot
|
|
//
|
|
resources.ApplyResources(this.radioButtonUEFIBoot, "radioButtonUEFIBoot");
|
|
this.radioButtonUEFIBoot.Name = "radioButtonUEFIBoot";
|
|
this.radioButtonUEFIBoot.UseVisualStyleBackColor = true;
|
|
//
|
|
// imgUefi
|
|
//
|
|
resources.ApplyResources(this.imgUefi, "imgUefi");
|
|
this.imgUefi.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.imgUefi.Name = "imgUefi";
|
|
this.imgUefi.TabStop = false;
|
|
//
|
|
// labelUefi
|
|
//
|
|
resources.ApplyResources(this.labelUefi, "labelUefi");
|
|
this.labelUefi.Name = "labelUefi";
|
|
//
|
|
// radioButtonUEFISecureBoot
|
|
//
|
|
resources.ApplyResources(this.radioButtonUEFISecureBoot, "radioButtonUEFISecureBoot");
|
|
this.radioButtonUEFISecureBoot.Name = "radioButtonUEFISecureBoot";
|
|
this.radioButtonUEFISecureBoot.UseVisualStyleBackColor = true;
|
|
this.radioButtonUEFISecureBoot.CheckedChanged += new System.EventHandler(this.radioButtonUEFISecureBoot_CheckedChanged);
|
|
//
|
|
// imgSecureUefi
|
|
//
|
|
resources.ApplyResources(this.imgSecureUefi, "imgSecureUefi");
|
|
this.imgSecureUefi.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
this.imgSecureUefi.Name = "imgSecureUefi";
|
|
this.imgSecureUefi.TabStop = false;
|
|
//
|
|
// labelSecureUefi
|
|
//
|
|
resources.ApplyResources(this.labelSecureUefi, "labelSecureUefi");
|
|
this.labelSecureUefi.Name = "labelSecureUefi";
|
|
//
|
|
// tableVtpmWarning
|
|
//
|
|
resources.ApplyResources(this.tableVtpmWarning, "tableVtpmWarning");
|
|
this.tableVtpmWarning.Controls.Add(this.labelTpm, 1, 0);
|
|
this.tableVtpmWarning.Controls.Add(this.imgTpm, 0, 0);
|
|
this.tableVtpmWarning.Name = "tableVtpmWarning";
|
|
//
|
|
// labelTpm
|
|
//
|
|
resources.ApplyResources(this.labelTpm, "labelTpm");
|
|
this.labelTpm.Name = "labelTpm";
|
|
//
|
|
// imgTpm
|
|
//
|
|
this.imgTpm.Image = global::XenAdmin.Properties.Resources._000_Info3_h32bit_16;
|
|
resources.ApplyResources(this.imgTpm, "imgTpm");
|
|
this.imgTpm.Name = "imgTpm";
|
|
this.imgTpm.TabStop = false;
|
|
//
|
|
// groupBoxDevSecurity
|
|
//
|
|
this.groupBoxDevSecurity.Controls.Add(this.checkBoxVtpm);
|
|
resources.ApplyResources(this.groupBoxDevSecurity, "groupBoxDevSecurity");
|
|
this.groupBoxDevSecurity.Name = "groupBoxDevSecurity";
|
|
this.groupBoxDevSecurity.TabStop = false;
|
|
//
|
|
// checkBoxVtpm
|
|
//
|
|
resources.ApplyResources(this.checkBoxVtpm, "checkBoxVtpm");
|
|
this.checkBoxVtpm.Name = "checkBoxVtpm";
|
|
this.checkBoxVtpm.UseVisualStyleBackColor = true;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.groupBoxBootMode, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.groupBoxDevSecurity, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.tableVtpmWarning, 0, 4);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// BootModesControl
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.DoubleBuffered = true;
|
|
this.Name = "BootModesControl";
|
|
this.groupBoxBootMode.ResumeLayout(false);
|
|
this.tableLayoutPanelBootMode.ResumeLayout(false);
|
|
this.tableLayoutPanelBootMode.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgBios)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgUefi)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgSecureUefi)).EndInit();
|
|
this.tableVtpmWarning.ResumeLayout(false);
|
|
this.tableVtpmWarning.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.imgTpm)).EndInit();
|
|
this.groupBoxDevSecurity.ResumeLayout(false);
|
|
this.groupBoxDevSecurity.PerformLayout();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBoxBootMode;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelBootMode;
|
|
private System.Windows.Forms.RadioButton radioButtonUEFISecureBoot;
|
|
private System.Windows.Forms.RadioButton radioButtonBIOSBoot;
|
|
private System.Windows.Forms.RadioButton radioButtonUEFIBoot;
|
|
private System.Windows.Forms.TableLayoutPanel tableVtpmWarning;
|
|
private System.Windows.Forms.PictureBox imgUefi;
|
|
private System.Windows.Forms.Label labelBios;
|
|
private System.Windows.Forms.GroupBox groupBoxDevSecurity;
|
|
private System.Windows.Forms.CheckBox checkBoxVtpm;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label labelTpm;
|
|
private System.Windows.Forms.PictureBox imgTpm;
|
|
private System.Windows.Forms.PictureBox imgBios;
|
|
private System.Windows.Forms.PictureBox imgSecureUefi;
|
|
private System.Windows.Forms.Label labelSecureUefi;
|
|
private System.Windows.Forms.Label labelUefi;
|
|
}
|
|
}
|