|
@@ -29,7 +29,6 @@
|
|
private void InitializeComponent()
|
|
private void InitializeComponent()
|
|
{
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.components = new System.ComponentModel.Container();
|
|
- this.mvvmContext1 = new DevExpress.Utils.MVVM.MVVMContext(this.components);
|
|
|
|
this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
|
|
this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
|
|
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
|
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
|
|
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
|
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
|
@@ -37,17 +36,13 @@
|
|
this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
this.BTN_LOGIN = new DevExpress.XtraEditors.SimpleButton();
|
|
this.BTN_LOGIN = new DevExpress.XtraEditors.SimpleButton();
|
|
this.BTN_CANCLE = new DevExpress.XtraEditors.SimpleButton();
|
|
this.BTN_CANCLE = new DevExpress.XtraEditors.SimpleButton();
|
|
- ((System.ComponentModel.ISupportInitialize)(this.mvvmContext1)).BeginInit();
|
|
|
|
|
|
+ this.mvvmContext1 = new DevExpress.Utils.MVVM.MVVMContext(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
|
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.mvvmContext1)).BeginInit();
|
|
this.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
//
|
|
- // mvvmContext1
|
|
|
|
- //
|
|
|
|
- this.mvvmContext1.ContainerControl = this;
|
|
|
|
- this.mvvmContext1.ViewModelType = typeof(FactoryTool.LoginViewModel);
|
|
|
|
- //
|
|
|
|
// pictureEdit1
|
|
// pictureEdit1
|
|
//
|
|
//
|
|
this.pictureEdit1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pictureEdit1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
@@ -70,7 +65,7 @@
|
|
//
|
|
//
|
|
// labelControl2
|
|
// labelControl2
|
|
//
|
|
//
|
|
- this.labelControl2.Location = new System.Drawing.Point(106, 160);
|
|
|
|
|
|
+ this.labelControl2.Location = new System.Drawing.Point(106, 163);
|
|
this.labelControl2.Name = "labelControl2";
|
|
this.labelControl2.Name = "labelControl2";
|
|
this.labelControl2.Size = new System.Drawing.Size(36, 14);
|
|
this.labelControl2.Size = new System.Drawing.Size(36, 14);
|
|
this.labelControl2.TabIndex = 2;
|
|
this.labelControl2.TabIndex = 2;
|
|
@@ -78,7 +73,7 @@
|
|
//
|
|
//
|
|
// textEdit1
|
|
// textEdit1
|
|
//
|
|
//
|
|
- this.textEdit1.Location = new System.Drawing.Point(148, 157);
|
|
|
|
|
|
+ this.textEdit1.Location = new System.Drawing.Point(148, 160);
|
|
this.textEdit1.Name = "textEdit1";
|
|
this.textEdit1.Name = "textEdit1";
|
|
this.textEdit1.Size = new System.Drawing.Size(123, 20);
|
|
this.textEdit1.Size = new System.Drawing.Size(123, 20);
|
|
this.textEdit1.TabIndex = 3;
|
|
this.textEdit1.TabIndex = 3;
|
|
@@ -94,7 +89,7 @@
|
|
//
|
|
//
|
|
// BTN_LOGIN
|
|
// BTN_LOGIN
|
|
//
|
|
//
|
|
- this.BTN_LOGIN.Location = new System.Drawing.Point(69, 189);
|
|
|
|
|
|
+ this.BTN_LOGIN.Location = new System.Drawing.Point(69, 191);
|
|
this.BTN_LOGIN.Name = "BTN_LOGIN";
|
|
this.BTN_LOGIN.Name = "BTN_LOGIN";
|
|
this.BTN_LOGIN.Size = new System.Drawing.Size(96, 23);
|
|
this.BTN_LOGIN.Size = new System.Drawing.Size(96, 23);
|
|
this.BTN_LOGIN.TabIndex = 5;
|
|
this.BTN_LOGIN.TabIndex = 5;
|
|
@@ -103,13 +98,18 @@
|
|
//
|
|
//
|
|
// BTN_CANCLE
|
|
// BTN_CANCLE
|
|
//
|
|
//
|
|
- this.BTN_CANCLE.Location = new System.Drawing.Point(212, 189);
|
|
|
|
|
|
+ this.BTN_CANCLE.Location = new System.Drawing.Point(212, 191);
|
|
this.BTN_CANCLE.Name = "BTN_CANCLE";
|
|
this.BTN_CANCLE.Name = "BTN_CANCLE";
|
|
this.BTN_CANCLE.Size = new System.Drawing.Size(96, 23);
|
|
this.BTN_CANCLE.Size = new System.Drawing.Size(96, 23);
|
|
this.BTN_CANCLE.TabIndex = 6;
|
|
this.BTN_CANCLE.TabIndex = 6;
|
|
this.BTN_CANCLE.Text = "取消";
|
|
this.BTN_CANCLE.Text = "取消";
|
|
this.BTN_CANCLE.Click += new System.EventHandler(this.BTN_CANCLE_Click);
|
|
this.BTN_CANCLE.Click += new System.EventHandler(this.BTN_CANCLE_Click);
|
|
//
|
|
//
|
|
|
|
+ // mvvmContext1
|
|
|
|
+ //
|
|
|
|
+ this.mvvmContext1.ContainerControl = this;
|
|
|
|
+ this.mvvmContext1.ViewModelType = typeof(FactoryTool.LoginViewModel);
|
|
|
|
+ //
|
|
// LoginView
|
|
// LoginView
|
|
//
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
@@ -122,15 +122,17 @@
|
|
this.Controls.Add(this.labelControl2);
|
|
this.Controls.Add(this.labelControl2);
|
|
this.Controls.Add(this.labelControl1);
|
|
this.Controls.Add(this.labelControl1);
|
|
this.Controls.Add(this.pictureEdit1);
|
|
this.Controls.Add(this.pictureEdit1);
|
|
|
|
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.IconOptions.Image = global::FactoryTool.Properties.Resources.logo;
|
|
this.IconOptions.Image = global::FactoryTool.Properties.Resources.logo;
|
|
this.MaximizeBox = false;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "LoginView";
|
|
this.Name = "LoginView";
|
|
|
|
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "系统登录";
|
|
this.Text = "系统登录";
|
|
- ((System.ComponentModel.ISupportInitialize)(this.mvvmContext1)).EndInit();
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
|
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.mvvmContext1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
this.PerformLayout();
|
|
|
|
|