|
@@ -29,7 +29,7 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
|
|
|
+ DevExpress.XtraEditors.PictureEdit pictureEdit1;
|
|
|
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
|
|
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
|
|
this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
|
|
@@ -37,7 +37,8 @@
|
|
|
this.BTN_LOGIN = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.BTN_CANCLE = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.mvvmContext1 = new DevExpress.Utils.MVVM.MVVMContext(this.components);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
|
|
|
+ pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(pictureEdit1.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.mvvmContext1)).BeginInit();
|
|
@@ -45,15 +46,20 @@
|
|
|
//
|
|
|
// pictureEdit1
|
|
|
//
|
|
|
- this.pictureEdit1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
- this.pictureEdit1.EditValue = global::FactoryTool.Properties.Resources.logo;
|
|
|
- this.pictureEdit1.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.pictureEdit1.Name = "pictureEdit1";
|
|
|
- this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
- this.pictureEdit1.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
|
|
|
- this.pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch;
|
|
|
- this.pictureEdit1.Size = new System.Drawing.Size(377, 125);
|
|
|
- this.pictureEdit1.TabIndex = 0;
|
|
|
+ pictureEdit1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
|
|
+ pictureEdit1.CausesValidation = false;
|
|
|
+ pictureEdit1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
+ pictureEdit1.EditValue = global::FactoryTool.Properties.Resources.logo;
|
|
|
+ pictureEdit1.Location = new System.Drawing.Point(0, 0);
|
|
|
+ pictureEdit1.Margin = new System.Windows.Forms.Padding(0);
|
|
|
+ pictureEdit1.Name = "pictureEdit1";
|
|
|
+ pictureEdit1.Properties.AllowFocused = false;
|
|
|
+ pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
+ pictureEdit1.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
|
|
|
+ pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch;
|
|
|
+ pictureEdit1.ShowToolTips = false;
|
|
|
+ pictureEdit1.Size = new System.Drawing.Size(377, 125);
|
|
|
+ pictureEdit1.TabIndex = 0;
|
|
|
//
|
|
|
// labelControl1
|
|
|
//
|
|
@@ -121,7 +127,7 @@
|
|
|
this.Controls.Add(this.textEdit1);
|
|
|
this.Controls.Add(this.labelControl2);
|
|
|
this.Controls.Add(this.labelControl1);
|
|
|
- this.Controls.Add(this.pictureEdit1);
|
|
|
+ this.Controls.Add(pictureEdit1);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
|
this.IconOptions.Image = global::FactoryTool.Properties.Resources.logo;
|
|
|
this.MaximizeBox = false;
|
|
@@ -129,7 +135,7 @@
|
|
|
this.Name = "LoginView";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.Text = "系统登录";
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(pictureEdit1.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.mvvmContext1)).EndInit();
|
|
@@ -147,6 +153,5 @@
|
|
|
private DevExpress.XtraEditors.TextEdit textEdit1;
|
|
|
private DevExpress.XtraEditors.LabelControl labelControl2;
|
|
|
private DevExpress.XtraEditors.LabelControl labelControl1;
|
|
|
- private DevExpress.XtraEditors.PictureEdit pictureEdit1;
|
|
|
}
|
|
|
}
|