mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-23 17:06:14 +01:00
fd9b88a2f4
-Modified layout to avoid overlapping and dynamic movement of input fields/buttons when an error message is being displayed. Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
180 lines
8.7 KiB
C#
180 lines
8.7 KiB
C#
namespace XenAdmin.Dialogs.RestoreSession
|
|
{
|
|
partial class ChangeMasterPasswordDialog
|
|
{
|
|
/// <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 Windows Form 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(ChangeMasterPasswordDialog));
|
|
this.currentTextBox = new System.Windows.Forms.TextBox();
|
|
this.masterTextBox = new System.Windows.Forms.TextBox();
|
|
this.reEnterMasterTextBox = new System.Windows.Forms.TextBox();
|
|
this.currentLabel = new System.Windows.Forms.Label();
|
|
this.masterLabel = new System.Windows.Forms.Label();
|
|
this.reEnterMasterLabel = new System.Windows.Forms.Label();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.newPasswordError = new XenAdmin.Controls.Common.PasswordFailure();
|
|
this.currentPasswordError = new XenAdmin.Controls.Common.PasswordFailure();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.noteLabel = new System.Windows.Forms.Label();
|
|
this.masterBlurbLabel = new System.Windows.Forms.Label();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// currentTextBox
|
|
//
|
|
resources.ApplyResources(this.currentTextBox, "currentTextBox");
|
|
this.currentTextBox.Name = "currentTextBox";
|
|
this.currentTextBox.UseSystemPasswordChar = true;
|
|
this.currentTextBox.TextChanged += new System.EventHandler(this.currentTextBox_TextChanged);
|
|
//
|
|
// masterTextBox
|
|
//
|
|
resources.ApplyResources(this.masterTextBox, "masterTextBox");
|
|
this.masterTextBox.Name = "masterTextBox";
|
|
this.masterTextBox.UseSystemPasswordChar = true;
|
|
this.masterTextBox.TextChanged += new System.EventHandler(this.masterTextBox_TextChanged);
|
|
//
|
|
// reEnterMasterTextBox
|
|
//
|
|
resources.ApplyResources(this.reEnterMasterTextBox, "reEnterMasterTextBox");
|
|
this.reEnterMasterTextBox.Name = "reEnterMasterTextBox";
|
|
this.reEnterMasterTextBox.UseSystemPasswordChar = true;
|
|
this.reEnterMasterTextBox.TextChanged += new System.EventHandler(this.reEnterMasterTextBox_TextChanged);
|
|
//
|
|
// currentLabel
|
|
//
|
|
resources.ApplyResources(this.currentLabel, "currentLabel");
|
|
this.currentLabel.Name = "currentLabel";
|
|
//
|
|
// masterLabel
|
|
//
|
|
resources.ApplyResources(this.masterLabel, "masterLabel");
|
|
this.masterLabel.Name = "masterLabel";
|
|
//
|
|
// reEnterMasterLabel
|
|
//
|
|
resources.ApplyResources(this.reEnterMasterLabel, "reEnterMasterLabel");
|
|
this.reEnterMasterLabel.Name = "reEnterMasterLabel";
|
|
//
|
|
// cancelButton
|
|
//
|
|
resources.ApplyResources(this.cancelButton, "cancelButton");
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
|
//
|
|
// okButton
|
|
//
|
|
resources.ApplyResources(this.okButton, "okButton");
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// newPasswordError
|
|
//
|
|
resources.ApplyResources(this.newPasswordError, "newPasswordError");
|
|
this.newPasswordError.Name = "newPasswordError";
|
|
//
|
|
// currentPasswordError
|
|
//
|
|
resources.ApplyResources(this.currentPasswordError, "currentPasswordError");
|
|
this.currentPasswordError.Name = "currentPasswordError";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.noteLabel, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.masterBlurbLabel, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.currentLabel, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.currentPasswordError, 1, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.masterTextBox, 1, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.masterLabel, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.reEnterMasterTextBox, 1, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.reEnterMasterLabel, 0, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.currentTextBox, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.newPasswordError, 1, 6);
|
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 1, 7);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// noteLabel
|
|
//
|
|
this.tableLayoutPanel1.SetColumnSpan(this.noteLabel, 2);
|
|
resources.ApplyResources(this.noteLabel, "noteLabel");
|
|
this.noteLabel.Name = "noteLabel";
|
|
//
|
|
// masterBlurbLabel
|
|
//
|
|
this.tableLayoutPanel1.SetColumnSpan(this.masterBlurbLabel, 2);
|
|
resources.ApplyResources(this.masterBlurbLabel, "masterBlurbLabel");
|
|
this.masterBlurbLabel.Name = "masterBlurbLabel";
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
|
|
this.flowLayoutPanel1.Controls.Add(this.cancelButton);
|
|
this.flowLayoutPanel1.Controls.Add(this.okButton);
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
//
|
|
// ChangeMasterPasswordDialog
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.CancelButton = this.cancelButton;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "ChangeMasterPasswordDialog";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|
this.flowLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox currentTextBox;
|
|
private System.Windows.Forms.TextBox masterTextBox;
|
|
private System.Windows.Forms.TextBox reEnterMasterTextBox;
|
|
private System.Windows.Forms.Label currentLabel;
|
|
private System.Windows.Forms.Label masterLabel;
|
|
private System.Windows.Forms.Label reEnterMasterLabel;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button okButton;
|
|
private XenAdmin.Controls.Common.PasswordFailure newPasswordError;
|
|
private XenAdmin.Controls.Common.PasswordFailure currentPasswordError;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.Label masterBlurbLabel;
|
|
private System.Windows.Forms.Label noteLabel;
|
|
}
|
|
} |