| | |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | btnLogin = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | labCancel = new DevExpress.XtraEditors.LabelControl(); |
| | | ckRemember = new DevExpress.XtraEditors.CheckEdit(); |
| | | txtLoginPwd = new DevExpress.XtraEditors.TextEdit(); |
| | | txtLoginName = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | ckRemember = new DevExpress.XtraEditors.CheckEdit(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | simpleSeparator1 = new DevExpress.XtraLayout.SimpleSeparator(); |
| | | simpleSeparator2 = new DevExpress.XtraLayout.SimpleSeparator(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)ckRemember.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtLoginPwd.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtLoginName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ckRemember.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(ckRemember); |
| | | layoutControl1.Controls.Add(btnLogin); |
| | | layoutControl1.Controls.Add(btnCancel); |
| | | layoutControl1.Controls.Add(labCancel); |
| | | layoutControl1.Controls.Add(ckRemember); |
| | | layoutControl1.Controls.Add(txtLoginPwd); |
| | | layoutControl1.Controls.Add(txtLoginName); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(578, 0, 650, 400); |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(723, 130, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(323, 173); |
| | | layoutControl1.Size = new Size(360, 313); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | // |
| | | btnLogin.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnLogin.Appearance.Options.UseBackColor = true; |
| | | btnLogin.Location = new Point(166, 114); |
| | | btnLogin.Location = new Point(12, 151); |
| | | btnLogin.Name = "btnLogin"; |
| | | btnLogin.Size = new Size(142, 22); |
| | | btnLogin.Size = new Size(336, 30); |
| | | btnLogin.StyleController = layoutControl1; |
| | | btnLogin.TabIndex = 5; |
| | | btnLogin.TabIndex = 7; |
| | | btnLogin.Text = "登录"; |
| | | btnLogin.Click += btnLogin_Click; |
| | | // |
| | | // btnCancel |
| | | // labCancel |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.Location = new Point(15, 114); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(141, 22); |
| | | btnCancel.StyleController = layoutControl1; |
| | | btnCancel.TabIndex = 4; |
| | | btnCancel.Text = "取消"; |
| | | btnCancel.Click += btnCancel_Click; |
| | | labCancel.Appearance.ForeColor = Color.Gray; |
| | | labCancel.Appearance.Options.UseForeColor = true; |
| | | labCancel.Appearance.Options.UseTextOptions = true; |
| | | labCancel.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | labCancel.AppearanceHovered.ForeColor = Color.FromArgb(255, 128, 0); |
| | | labCancel.AppearanceHovered.Options.UseForeColor = true; |
| | | labCancel.Location = new Point(282, 185); |
| | | labCancel.Name = "labCancel"; |
| | | labCancel.Size = new Size(66, 22); |
| | | labCancel.StyleController = layoutControl1; |
| | | labCancel.TabIndex = 6; |
| | | labCancel.Text = "取 消"; |
| | | labCancel.Click += btnCancel_Click; |
| | | // |
| | | // ckRemember |
| | | // |
| | | ckRemember.Location = new Point(15, 124); |
| | | ckRemember.Name = "ckRemember"; |
| | | ckRemember.Properties.Appearance.ForeColor = Color.Gray; |
| | | ckRemember.Properties.Appearance.Options.UseForeColor = true; |
| | | ckRemember.Properties.AutoWidth = true; |
| | | ckRemember.Properties.Caption = "记住密码"; |
| | | ckRemember.Size = new Size(72, 20); |
| | | ckRemember.StyleController = layoutControl1; |
| | | ckRemember.TabIndex = 3; |
| | | // |
| | | // txtLoginPwd |
| | | // |
| | | txtLoginPwd.Location = new Point(15, 47); |
| | | txtLoginPwd.Location = new Point(10, 84); |
| | | txtLoginPwd.Name = "txtLoginPwd"; |
| | | txtLoginPwd.Properties.NullValuePrompt = "请输入验证码"; |
| | | txtLoginPwd.Properties.Appearance.Font = new Font("Tahoma", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | txtLoginPwd.Properties.Appearance.Options.UseFont = true; |
| | | txtLoginPwd.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | txtLoginPwd.Properties.NullValuePrompt = "请输入登录密码"; |
| | | txtLoginPwd.Properties.PasswordChar = '*'; |
| | | txtLoginPwd.Size = new Size(293, 22); |
| | | txtLoginPwd.Size = new Size(340, 28); |
| | | txtLoginPwd.StyleController = layoutControl1; |
| | | txtLoginPwd.TabIndex = 2; |
| | | txtLoginPwd.KeyPress += txtLoginPwd_KeyPress; |
| | | // |
| | | // txtLoginName |
| | | // |
| | | txtLoginName.Location = new Point(15, 15); |
| | | txtLoginName.Location = new Point(10, 30); |
| | | txtLoginName.Name = "txtLoginName"; |
| | | txtLoginName.Properties.NullValuePrompt = "手机号码"; |
| | | txtLoginName.Size = new Size(293, 22); |
| | | txtLoginName.Properties.Appearance.Font = new Font("Tahoma", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | txtLoginName.Properties.Appearance.Options.UseFont = true; |
| | | txtLoginName.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | txtLoginName.Properties.NullValuePrompt = "请输入用户名称"; |
| | | txtLoginName.Size = new Size(340, 28); |
| | | txtLoginName.StyleController = layoutControl1; |
| | | txtLoginName.TabIndex = 0; |
| | | txtLoginName.KeyPress += txtLoginName_KeyPress; |
| | |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem4, layoutControlItem5, layoutControlItem2, layoutControlItem3 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem4, emptySpaceItem2, layoutControlItem5, simpleSeparator1, simpleSeparator2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(323, 173); |
| | | Root.Size = new Size(360, 313); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem1.Control = txtLoginName; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5); |
| | | layoutControlItem1.Size = new Size(303, 32); |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 20, 10); |
| | | layoutControlItem1.Size = new Size(340, 58); |
| | | layoutControlItem1.Text = "手机号码:"; |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 131); |
| | | emptySpaceItem1.Location = new Point(0, 199); |
| | | emptySpaceItem1.MinSize = new Size(1, 1); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(303, 22); |
| | | emptySpaceItem1.Size = new Size(340, 94); |
| | | emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | |
| | | layoutControlItem2.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutControlItem2.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutControlItem2.Control = txtLoginPwd; |
| | | layoutControlItem2.Location = new Point(0, 32); |
| | | layoutControlItem2.Location = new Point(0, 59); |
| | | layoutControlItem2.MinSize = new Size(60, 32); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5); |
| | | layoutControlItem2.Size = new Size(303, 32); |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 10, 5); |
| | | layoutControlItem2.Size = new Size(340, 49); |
| | | layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem2.Text = "验证码:"; |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = ckRemember; |
| | | layoutControlItem3.Location = new Point(0, 109); |
| | | layoutControlItem3.MaxSize = new Size(0, 30); |
| | | layoutControlItem3.MinSize = new Size(82, 30); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5); |
| | | layoutControlItem3.Size = new Size(340, 30); |
| | | layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutControlItem4.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutControlItem4.Control = btnCancel; |
| | | layoutControlItem4.Location = new Point(0, 94); |
| | | layoutControlItem4.Control = labCancel; |
| | | layoutControlItem4.Location = new Point(270, 173); |
| | | layoutControlItem4.MaxSize = new Size(70, 26); |
| | | layoutControlItem4.MinSize = new Size(70, 26); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 10, 5); |
| | | layoutControlItem4.Size = new Size(151, 37); |
| | | layoutControlItem4.Size = new Size(70, 26); |
| | | layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // emptySpaceItem2 |
| | | // |
| | | emptySpaceItem2.AllowHotTrack = false; |
| | | emptySpaceItem2.Location = new Point(0, 173); |
| | | emptySpaceItem2.Name = "emptySpaceItem2"; |
| | | emptySpaceItem2.Size = new Size(270, 26); |
| | | emptySpaceItem2.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutControlItem5.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutControlItem5.Control = btnLogin; |
| | | layoutControlItem5.Location = new Point(151, 94); |
| | | layoutControlItem5.Location = new Point(0, 139); |
| | | layoutControlItem5.MaxSize = new Size(0, 34); |
| | | layoutControlItem5.MinSize = new Size(89, 34); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 10, 5); |
| | | layoutControlItem5.Size = new Size(152, 37); |
| | | layoutControlItem5.Size = new Size(340, 34); |
| | | layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | | layoutControlItem5.TextVisible = false; |
| | | // |
| | | // simpleSeparator1 |
| | | // |
| | | simpleSeparator1.AllowHotTrack = false; |
| | | simpleSeparator1.Location = new Point(0, 108); |
| | | simpleSeparator1.Name = "simpleSeparator1"; |
| | | simpleSeparator1.Size = new Size(340, 1); |
| | | // |
| | | // simpleSeparator2 |
| | | // |
| | | simpleSeparator2.AllowHotTrack = false; |
| | | simpleSeparator2.Location = new Point(0, 58); |
| | | simpleSeparator2.Name = "simpleSeparator2"; |
| | | simpleSeparator2.Size = new Size(340, 1); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // ckRemember |
| | | // |
| | | ckRemember.Location = new Point(15, 79); |
| | | ckRemember.Name = "ckRemember"; |
| | | ckRemember.Properties.AutoWidth = true; |
| | | ckRemember.Properties.Caption = "记住密码"; |
| | | ckRemember.Size = new Size(72, 20); |
| | | ckRemember.StyleController = layoutControl1; |
| | | ckRemember.TabIndex = 3; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = ckRemember; |
| | | layoutControlItem3.Location = new Point(0, 64); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5); |
| | | layoutControlItem3.Size = new Size(303, 30); |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | | // SystemLoginCtrl |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Name = "SystemLoginCtrl"; |
| | | Size = new Size(323, 173); |
| | | Size = new Size(360, 313); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)ckRemember.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtLoginPwd.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtLoginName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ckRemember.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraEditors.TextEdit txtLoginPwd; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.SimpleButton btnLogin; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private DevExpress.XtraEditors.CheckEdit ckRemember; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.LabelControl labCancel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
| | | private DevExpress.XtraEditors.SimpleButton btnLogin; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.SimpleSeparator simpleSeparator1; |
| | | private DevExpress.XtraLayout.SimpleSeparator simpleSeparator2; |
| | | } |
| | | } |