|
|
@@ -30,86 +30,27 @@
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HeadBar));
|
|
|
this.TitleLabel = new System.Windows.Forms.Label();
|
|
|
- this.UpperCollection = new System.Windows.Forms.CheckBox();
|
|
|
- this.AlwaysTop = new System.Windows.Forms.CheckBox();
|
|
|
- this.changepwdicon = new System.Windows.Forms.PictureBox();
|
|
|
- this.Change_psw = new System.Windows.Forms.PictureBox();
|
|
|
- this.logouticon = new System.Windows.Forms.PictureBox();
|
|
|
- this.LoginOut = new System.Windows.Forms.PictureBox();
|
|
|
this.MinWindow2 = new System.Windows.Forms.PictureBox();
|
|
|
this.MinWindow = new System.Windows.Forms.PictureBox();
|
|
|
this.MinWindow1 = new System.Windows.Forms.PictureBox();
|
|
|
this.CloseWindow = new System.Windows.Forms.PictureBox();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.changepwdicon)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.Change_psw)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.logouticon)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.LoginOut)).BeginInit();
|
|
|
+ this.LoginOut = new DevExpress.XtraEditors.SimpleButton();
|
|
|
+ this.UpperCollection = new DevExpress.XtraEditors.ToggleSwitch();
|
|
|
+ this.Change_psw = new DevExpress.XtraEditors.SimpleButton();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MinWindow2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MinWindow)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MinWindow1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CloseWindow)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.UpperCollection.Properties)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// TitleLabel
|
|
|
//
|
|
|
resources.ApplyResources(this.TitleLabel, "TitleLabel");
|
|
|
- this.TitleLabel.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
+ this.TitleLabel.BackColor = System.Drawing.SystemColors.ControlLight;
|
|
|
+ this.TitleLabel.ForeColor = System.Drawing.Color.RoyalBlue;
|
|
|
this.TitleLabel.Name = "TitleLabel";
|
|
|
//
|
|
|
- // UpperCollection
|
|
|
- //
|
|
|
- resources.ApplyResources(this.UpperCollection, "UpperCollection");
|
|
|
- this.UpperCollection.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
|
- this.UpperCollection.Checked = true;
|
|
|
- this.UpperCollection.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
- this.UpperCollection.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
- this.UpperCollection.Name = "UpperCollection";
|
|
|
- this.UpperCollection.UseVisualStyleBackColor = false;
|
|
|
- this.UpperCollection.CheckedChanged += new System.EventHandler(this.UpperCollection_CheckedChanged);
|
|
|
- //
|
|
|
- // AlwaysTop
|
|
|
- //
|
|
|
- resources.ApplyResources(this.AlwaysTop, "AlwaysTop");
|
|
|
- this.AlwaysTop.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
|
- this.AlwaysTop.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
|
- this.AlwaysTop.Name = "AlwaysTop";
|
|
|
- this.AlwaysTop.UseVisualStyleBackColor = false;
|
|
|
- this.AlwaysTop.CheckedChanged += new System.EventHandler(this.AlwaysTop_CheckedChanged);
|
|
|
- //
|
|
|
- // changepwdicon
|
|
|
- //
|
|
|
- resources.ApplyResources(this.changepwdicon, "changepwdicon");
|
|
|
- this.changepwdicon.Image = global::UAS_MES.Properties.Resources.pwd;
|
|
|
- this.changepwdicon.Name = "changepwdicon";
|
|
|
- this.changepwdicon.TabStop = false;
|
|
|
- //
|
|
|
- // Change_psw
|
|
|
- //
|
|
|
- resources.ApplyResources(this.Change_psw, "Change_psw");
|
|
|
- this.Change_psw.Image = global::UAS_MES.Properties.Resources.change_password;
|
|
|
- this.Change_psw.Name = "Change_psw";
|
|
|
- this.Change_psw.TabStop = false;
|
|
|
- this.Change_psw.Click += new System.EventHandler(this.Change_psw_Click);
|
|
|
- this.Change_psw.MouseEnter += new System.EventHandler(this.LoginOut_MouseEnter);
|
|
|
- this.Change_psw.MouseLeave += new System.EventHandler(this.LoginOut_MouseLeave);
|
|
|
- //
|
|
|
- // logouticon
|
|
|
- //
|
|
|
- resources.ApplyResources(this.logouticon, "logouticon");
|
|
|
- this.logouticon.Image = global::UAS_MES.Properties.Resources.Logout_32px_581264_easyicon_net;
|
|
|
- this.logouticon.Name = "logouticon";
|
|
|
- this.logouticon.TabStop = false;
|
|
|
- //
|
|
|
- // LoginOut
|
|
|
- //
|
|
|
- resources.ApplyResources(this.LoginOut, "LoginOut");
|
|
|
- this.LoginOut.Image = global::UAS_MES.Properties.Resources._0802192135;
|
|
|
- this.LoginOut.Name = "LoginOut";
|
|
|
- this.LoginOut.TabStop = false;
|
|
|
- this.LoginOut.Click += new System.EventHandler(this.pictureBox1_Click);
|
|
|
- this.LoginOut.MouseEnter += new System.EventHandler(this.LoginOut_MouseEnter);
|
|
|
- this.LoginOut.MouseLeave += new System.EventHandler(this.LoginOut_MouseLeave);
|
|
|
- //
|
|
|
// MinWindow2
|
|
|
//
|
|
|
resources.ApplyResources(this.MinWindow2, "MinWindow2");
|
|
|
@@ -139,16 +80,45 @@
|
|
|
this.CloseWindow.TabStop = false;
|
|
|
this.CloseWindow.Click += new System.EventHandler(this.CloseWindow_Click);
|
|
|
//
|
|
|
+ // LoginOut
|
|
|
+ //
|
|
|
+ this.LoginOut.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("LoginOut.Appearance.Font")));
|
|
|
+ this.LoginOut.Appearance.Options.UseFont = true;
|
|
|
+ this.LoginOut.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
+ resources.ApplyResources(this.LoginOut, "LoginOut");
|
|
|
+ this.LoginOut.Image = global::UAS_MES.Properties.Resources.Logout_32px_581264_easyicon_net;
|
|
|
+ this.LoginOut.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
|
|
|
+ this.LoginOut.Name = "LoginOut";
|
|
|
+ this.LoginOut.Click += new System.EventHandler(this.LoginOut_Click);
|
|
|
+ //
|
|
|
+ // UpperCollection
|
|
|
+ //
|
|
|
+ resources.ApplyResources(this.UpperCollection, "UpperCollection");
|
|
|
+ this.UpperCollection.Name = "UpperCollection";
|
|
|
+ this.UpperCollection.Properties.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("UpperCollection.Properties.Appearance.Font")));
|
|
|
+ this.UpperCollection.Properties.Appearance.Options.UseFont = true;
|
|
|
+ this.UpperCollection.Properties.OffText = resources.GetString("UpperCollection.Properties.OffText");
|
|
|
+ this.UpperCollection.Properties.OnText = resources.GetString("UpperCollection.Properties.OnText");
|
|
|
+ //
|
|
|
+ // Change_psw
|
|
|
+ //
|
|
|
+ this.Change_psw.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("Change_psw.Appearance.Font")));
|
|
|
+ this.Change_psw.Appearance.Options.UseFont = true;
|
|
|
+ this.Change_psw.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
+ resources.ApplyResources(this.Change_psw, "Change_psw");
|
|
|
+ this.Change_psw.Image = global::UAS_MES.Properties.Resources.pwd;
|
|
|
+ this.Change_psw.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
|
|
|
+ this.Change_psw.Name = "Change_psw";
|
|
|
+ this.Change_psw.Click += new System.EventHandler(this.Change_psw_Click);
|
|
|
+ //
|
|
|
// HeadBar
|
|
|
//
|
|
|
resources.ApplyResources(this, "$this");
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
|
- this.Controls.Add(this.AlwaysTop);
|
|
|
+ this.BackColor = System.Drawing.SystemColors.ControlLight;
|
|
|
+ this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
this.Controls.Add(this.UpperCollection);
|
|
|
- this.Controls.Add(this.changepwdicon);
|
|
|
this.Controls.Add(this.Change_psw);
|
|
|
- this.Controls.Add(this.logouticon);
|
|
|
this.Controls.Add(this.LoginOut);
|
|
|
this.Controls.Add(this.MinWindow2);
|
|
|
this.Controls.Add(this.TitleLabel);
|
|
|
@@ -157,14 +127,12 @@
|
|
|
this.Controls.Add(this.CloseWindow);
|
|
|
this.Name = "HeadBar";
|
|
|
this.Load += new System.EventHandler(this.HeadBar_Load);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.changepwdicon)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.Change_psw)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.logouticon)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.LoginOut)).EndInit();
|
|
|
+ this.BackColorChanged += new System.EventHandler(this.HeadBar_BackColorChanged);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MinWindow2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MinWindow)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MinWindow1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CloseWindow)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.UpperCollection.Properties)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
@@ -177,11 +145,8 @@
|
|
|
private System.Windows.Forms.PictureBox MinWindow;
|
|
|
private System.Windows.Forms.Label TitleLabel;
|
|
|
private System.Windows.Forms.PictureBox MinWindow2;
|
|
|
- private System.Windows.Forms.PictureBox LoginOut;
|
|
|
- private System.Windows.Forms.PictureBox logouticon;
|
|
|
- private System.Windows.Forms.PictureBox Change_psw;
|
|
|
- private System.Windows.Forms.PictureBox changepwdicon;
|
|
|
- private System.Windows.Forms.CheckBox UpperCollection;
|
|
|
- private System.Windows.Forms.CheckBox AlwaysTop;
|
|
|
+ private DevExpress.XtraEditors.ToggleSwitch UpperCollection;
|
|
|
+ private DevExpress.XtraEditors.SimpleButton Change_psw;
|
|
|
+ private DevExpress.XtraEditors.SimpleButton LoginOut;
|
|
|
}
|
|
|
}
|