mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
b9522c8cb2
- Use the base class connection property instead of an own field. - Do not fix fonts an window location; it's done in the parent class. - Corrected event registration and duplicate handling. - Launch modal forms in using blocks. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
94 lines
3.8 KiB
C#
94 lines
3.8 KiB
C#
using XenAdmin.Network;
|
|
|
|
namespace XenAdmin.Dialogs
|
|
{
|
|
partial class ConnectingToServerDialog
|
|
{
|
|
/// <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)
|
|
{
|
|
UnregisterEventHandlers();
|
|
|
|
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(ConnectingToServerDialog));
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
this.lblStatus = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// progressBar1
|
|
//
|
|
resources.ApplyResources(this.progressBar1, "progressBar1");
|
|
this.progressBar1.Name = "progressBar1";
|
|
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
|
|
//
|
|
// lblStatus
|
|
//
|
|
this.lblStatus.AutoEllipsis = true;
|
|
resources.ApplyResources(this.lblStatus, "lblStatus");
|
|
this.lblStatus.MinimumSize = new System.Drawing.Size(0, 30);
|
|
this.lblStatus.Name = "lblStatus";
|
|
this.lblStatus.UseMnemonic = false;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.lblStatus, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.progressBar1, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.btnCancel, 0, 2);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// btnCancel
|
|
//
|
|
resources.ApplyResources(this.btnCancel, "btnCancel");
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// ConnectingToServerDialog
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.CancelButton = this.btnCancel;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.MinimizeBox = true;
|
|
this.Name = "ConnectingToServerDialog";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
|
private System.Windows.Forms.Label lblStatus;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
}
|
|
} |