| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | labelCancel = new DevExpress.XtraEditors.LabelControl(); |
| | | btnLogin = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnSendCode = new DevExpress.XtraEditors.SimpleButton(); |
| | | labSendCode = new DevExpress.XtraEditors.LabelControl(); |
| | | txtCode = new DevExpress.XtraEditors.TextEdit(); |
| | | txtMobileNumber = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | simpleSeparator1 = new DevExpress.XtraLayout.SimpleSeparator(); |
| | | simpleSeparator2 = new DevExpress.XtraLayout.SimpleSeparator(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(labelCancel); |
| | | layoutControl1.Controls.Add(btnLogin); |
| | | layoutControl1.Controls.Add(btnCancel); |
| | | layoutControl1.Controls.Add(btnSendCode); |
| | | layoutControl1.Controls.Add(labSendCode); |
| | | layoutControl1.Controls.Add(txtCode); |
| | | layoutControl1.Controls.Add(txtMobileNumber); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(1034, 117, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(323, 173); |
| | | layoutControl1.Size = new Size(380, 279); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // labelCancel |
| | | // |
| | | labelCancel.Appearance.ForeColor = Color.Gray; |
| | | labelCancel.Appearance.Options.UseForeColor = true; |
| | | labelCancel.Appearance.Options.UseTextOptions = true; |
| | | labelCancel.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | labelCancel.AppearanceHovered.ForeColor = Color.FromArgb(192, 192, 0); |
| | | labelCancel.AppearanceHovered.Options.UseForeColor = true; |
| | | labelCancel.LineLocation = DevExpress.XtraEditors.LineLocation.Bottom; |
| | | labelCancel.Location = new Point(298, 169); |
| | | labelCancel.Name = "labelCancel"; |
| | | labelCancel.Size = new Size(70, 22); |
| | | labelCancel.StyleController = layoutControl1; |
| | | labelCancel.TabIndex = 11; |
| | | labelCancel.Text = "取 消"; |
| | | labelCancel.Click += btnCancel_Click; |
| | | // |
| | | // btnLogin |
| | | // |
| | | btnLogin.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnLogin.Appearance.Options.UseBackColor = true; |
| | | btnLogin.Location = new Point(166, 84); |
| | | btnLogin.Location = new Point(12, 135); |
| | | btnLogin.Name = "btnLogin"; |
| | | btnLogin.Size = new Size(142, 22); |
| | | btnLogin.Size = new Size(356, 30); |
| | | btnLogin.StyleController = layoutControl1; |
| | | btnLogin.TabIndex = 8; |
| | | btnLogin.TabIndex = 10; |
| | | btnLogin.Text = "登录"; |
| | | btnLogin.Click += btnLogin_Click; |
| | | // |
| | | // btnCancel |
| | | // labSendCode |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.Location = new Point(15, 84); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(141, 22); |
| | | btnCancel.StyleController = layoutControl1; |
| | | btnCancel.TabIndex = 7; |
| | | btnCancel.Text = "取消"; |
| | | btnCancel.Click += btnCancel_Click; |
| | | // |
| | | // btnSendCode |
| | | // |
| | | btnSendCode.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Success; |
| | | btnSendCode.Appearance.Options.UseBackColor = true; |
| | | btnSendCode.Location = new Point(166, 47); |
| | | btnSendCode.Name = "btnSendCode"; |
| | | btnSendCode.PaintStyle = DevExpress.XtraEditors.Controls.PaintStyles.Light; |
| | | btnSendCode.Size = new Size(142, 22); |
| | | btnSendCode.StyleController = layoutControl1; |
| | | btnSendCode.TabIndex = 6; |
| | | btnSendCode.Text = "发送验证码"; |
| | | btnSendCode.Click += btnSendCode_Click; |
| | | labSendCode.Appearance.ForeColor = Color.FromArgb(0, 122, 204); |
| | | labSendCode.Appearance.Options.UseForeColor = true; |
| | | labSendCode.Appearance.Options.UseTextOptions = true; |
| | | labSendCode.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | labSendCode.AppearanceDisabled.ForeColor = Color.Gray; |
| | | labSendCode.AppearanceDisabled.Options.UseForeColor = true; |
| | | labSendCode.AppearanceHovered.ForeColor = Color.FromArgb(255, 128, 0); |
| | | labSendCode.AppearanceHovered.Options.UseForeColor = true; |
| | | labSendCode.Location = new Point(279, 71); |
| | | labSendCode.Name = "labSendCode"; |
| | | labSendCode.Size = new Size(89, 44); |
| | | labSendCode.StyleController = layoutControl1; |
| | | labSendCode.TabIndex = 9; |
| | | labSendCode.Text = "发送验证码"; |
| | | labSendCode.Click += btnSendCode_Click; |
| | | // |
| | | // txtCode |
| | | // |
| | | txtCode.Location = new Point(15, 47); |
| | | txtCode.Location = new Point(10, 79); |
| | | txtCode.Name = "txtCode"; |
| | | txtCode.Properties.Appearance.Font = new Font("Tahoma", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | txtCode.Properties.Appearance.Options.UseFont = true; |
| | | txtCode.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | txtCode.Properties.NullValuePrompt = "请输入验证码"; |
| | | txtCode.Size = new Size(141, 22); |
| | | txtCode.Size = new Size(267, 28); |
| | | txtCode.StyleController = layoutControl1; |
| | | txtCode.TabIndex = 5; |
| | | // |
| | | // txtMobileNumber |
| | | // |
| | | txtMobileNumber.Location = new Point(15, 15); |
| | | txtMobileNumber.Location = new Point(10, 30); |
| | | txtMobileNumber.Name = "txtMobileNumber"; |
| | | txtMobileNumber.Properties.Appearance.Font = new Font("Tahoma", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | txtMobileNumber.Properties.Appearance.Options.UseFont = true; |
| | | txtMobileNumber.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | txtMobileNumber.Properties.NullValuePrompt = "手机号码"; |
| | | txtMobileNumber.Size = new Size(293, 22); |
| | | txtMobileNumber.Size = new Size(360, 28); |
| | | txtMobileNumber.StyleController = layoutControl1; |
| | | txtMobileNumber.TabIndex = 4; |
| | | // |
| | |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem4, layoutControlItem5 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2, simpleSeparator1, simpleSeparator2, layoutControlItem3, layoutControlItem4, emptySpaceItem2, layoutControlItem5, emptySpaceItem3 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(323, 173); |
| | | Root.Size = new Size(380, 279); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem1.Control = txtMobileNumber; |
| | | 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(360, 58); |
| | | layoutControlItem1.Text = "手机号码:"; |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 101); |
| | | emptySpaceItem1.Location = new Point(0, 183); |
| | | emptySpaceItem1.MinSize = new Size(1, 1); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(303, 52); |
| | | emptySpaceItem1.Size = new Size(360, 76); |
| | | 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 = txtCode; |
| | | layoutControlItem2.Location = new Point(0, 32); |
| | | layoutControlItem2.Location = new Point(0, 59); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5); |
| | | layoutControlItem2.Size = new Size(151, 32); |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 10, 10); |
| | | layoutControlItem2.Size = new Size(267, 48); |
| | | layoutControlItem2.Text = "验证码:"; |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // simpleSeparator1 |
| | | // |
| | | simpleSeparator1.AllowHotTrack = false; |
| | | simpleSeparator1.Location = new Point(0, 107); |
| | | simpleSeparator1.Name = "simpleSeparator1"; |
| | | simpleSeparator1.Size = new Size(360, 1); |
| | | // |
| | | // simpleSeparator2 |
| | | // |
| | | simpleSeparator2.AllowHotTrack = false; |
| | | simpleSeparator2.Location = new Point(0, 58); |
| | | simpleSeparator2.Name = "simpleSeparator2"; |
| | | simpleSeparator2.Size = new Size(360, 1); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutControlItem3.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutControlItem3.Control = btnSendCode; |
| | | layoutControlItem3.Location = new Point(151, 32); |
| | | layoutControlItem3.Control = labSendCode; |
| | | layoutControlItem3.Location = new Point(267, 59); |
| | | layoutControlItem3.MaxSize = new Size(93, 0); |
| | | layoutControlItem3.MinSize = new Size(93, 18); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5); |
| | | layoutControlItem3.Size = new Size(152, 32); |
| | | layoutControlItem3.Size = new Size(93, 48); |
| | | 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, 64); |
| | | layoutControlItem4.Control = btnLogin; |
| | | layoutControlItem4.Location = new Point(0, 123); |
| | | layoutControlItem4.MaxSize = new Size(0, 34); |
| | | layoutControlItem4.MinSize = new Size(89, 34); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 10, 5); |
| | | layoutControlItem4.Size = new Size(151, 37); |
| | | layoutControlItem4.Size = new Size(360, 34); |
| | | layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // emptySpaceItem2 |
| | | // |
| | | emptySpaceItem2.AllowHotTrack = false; |
| | | emptySpaceItem2.Location = new Point(0, 108); |
| | | emptySpaceItem2.MaxSize = new Size(0, 15); |
| | | emptySpaceItem2.MinSize = new Size(10, 15); |
| | | emptySpaceItem2.Name = "emptySpaceItem2"; |
| | | emptySpaceItem2.Size = new Size(360, 15); |
| | | emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | 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, 64); |
| | | layoutControlItem5.Control = labelCancel; |
| | | layoutControlItem5.Location = new Point(286, 157); |
| | | layoutControlItem5.MaxSize = new Size(74, 26); |
| | | layoutControlItem5.MinSize = new Size(74, 26); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 10, 5); |
| | | layoutControlItem5.Size = new Size(152, 37); |
| | | layoutControlItem5.Size = new Size(74, 26); |
| | | layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | | layoutControlItem5.TextVisible = false; |
| | | // |
| | | // emptySpaceItem3 |
| | | // |
| | | emptySpaceItem3.AllowHotTrack = false; |
| | | emptySpaceItem3.Location = new Point(0, 157); |
| | | emptySpaceItem3.Name = "emptySpaceItem3"; |
| | | emptySpaceItem3.Size = new Size(286, 26); |
| | | emptySpaceItem3.TextSize = new Size(0, 0); |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Name = "SmsLoginCtrl"; |
| | | Size = new Size(323, 173); |
| | | Size = new Size(380, 279); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)txtCode.Properties).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleSeparator2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraEditors.SimpleButton btnSendCode; |
| | | private DevExpress.XtraEditors.TextEdit txtCode; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private DevExpress.XtraLayout.SimpleSeparator simpleSeparator1; |
| | | private DevExpress.XtraLayout.SimpleSeparator simpleSeparator2; |
| | | private DevExpress.XtraEditors.LabelControl labSendCode; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.SimpleButton btnLogin; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
| | | private DevExpress.XtraEditors.LabelControl labelCancel; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3; |
| | | } |
| | | } |