| | |
| | | { |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition9 = new DevExpress.XtraLayout.RowDefinition(); |
| | | DevExpress.XtraLayout.RowDefinition rowDefinition10 = new DevExpress.XtraLayout.RowDefinition(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | tabPane1 = new DevExpress.XtraBars.Navigation.TabPane(); |
| | | tabPageSystem = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | systemLoginCtrl1 = new SystemLoginCtrl(); |
| | | tabPageSms = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | smsLoginCtrl1 = new SmsLoginCtrl(); |
| | | tabPageWechat = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | wechatLoginCtrl1 = new WechatLoginCtrl(); |
| | | pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); |
| | | marqueeProgressBarControl1 = new DevExpress.XtraEditors.MarqueeProgressBarControl(); |
| | | layoutControl2 = new DevExpress.XtraLayout.LayoutControl(); |
| | | labelControl1 = new DevExpress.XtraEditors.LabelControl(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnLogin = new DevExpress.XtraEditors.SimpleButton(); |
| | | ckRemember = new DevExpress.XtraEditors.CheckEdit(); |
| | | txtPwd = new DevExpress.XtraEditors.TextEdit(); |
| | | txtLoginName = new DevExpress.XtraEditors.TextEdit(); |
| | | labTitle = new DevExpress.XtraEditors.LabelControl(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | labSysTitle = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | itemForProgress = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)tabPane1).BeginInit(); |
| | | tabPane1.SuspendLayout(); |
| | | tabPageSystem.SuspendLayout(); |
| | | tabPageSms.SuspendLayout(); |
| | | tabPageWechat.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)pictureEdit1.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)marqueeProgressBarControl1.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl2).BeginInit(); |
| | | layoutControl2.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)ckRemember.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtPwd.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtLoginName.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)labSysTitle).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)itemForProgress).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.BackColor = Color.Transparent; |
| | | layoutControl1.Controls.Add(tabPane1); |
| | | layoutControl1.Controls.Add(pictureEdit1); |
| | | layoutControl1.Controls.Add(marqueeProgressBarControl1); |
| | | layoutControl1.Controls.Add(layoutControl2); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Margin = new Padding(3, 2, 3, 2); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(994, 279, 650, 400); |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(771, 155, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(1097, 565); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // tabPane1 |
| | | // |
| | | tabPane1.Appearance.BackColor = Color.White; |
| | | tabPane1.Appearance.Options.UseBackColor = true; |
| | | tabPane1.AppearanceButton.Hovered.FontSizeDelta = 2; |
| | | tabPane1.AppearanceButton.Hovered.Options.UseFont = true; |
| | | tabPane1.AppearanceButton.Normal.Font = new Font("Tahoma", 10F, FontStyle.Regular, GraphicsUnit.Point); |
| | | tabPane1.AppearanceButton.Normal.Options.UseFont = true; |
| | | tabPane1.AppearanceButton.Pressed.BorderColor = Color.FromArgb(0, 122, 204); |
| | | tabPane1.AppearanceButton.Pressed.FontSizeDelta = 3; |
| | | tabPane1.AppearanceButton.Pressed.ForeColor = Color.FromArgb(0, 122, 204); |
| | | tabPane1.AppearanceButton.Pressed.Options.UseBorderColor = true; |
| | | tabPane1.AppearanceButton.Pressed.Options.UseFont = true; |
| | | tabPane1.AppearanceButton.Pressed.Options.UseForeColor = true; |
| | | tabPane1.Controls.Add(tabPageSystem); |
| | | tabPane1.Controls.Add(tabPageSms); |
| | | tabPane1.Controls.Add(tabPageWechat); |
| | | tabPane1.Location = new Point(639, 121); |
| | | tabPane1.Name = "tabPane1"; |
| | | tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { tabPageSystem, tabPageSms, tabPageWechat }); |
| | | tabPane1.RegularSize = new Size(356, 353); |
| | | tabPane1.SelectedPage = tabPageSystem; |
| | | tabPane1.Size = new Size(356, 353); |
| | | tabPane1.TabIndex = 8; |
| | | tabPane1.Text = "tabPane1"; |
| | | tabPane1.SelectedPageChanged += tabPane1_SelectedPageChanged; |
| | | // |
| | | // tabPageSystem |
| | | // |
| | | tabPageSystem.Appearance.BackColor = Color.White; |
| | | tabPageSystem.Appearance.Options.UseBackColor = true; |
| | | tabPageSystem.Caption = "密码登录"; |
| | | tabPageSystem.Controls.Add(systemLoginCtrl1); |
| | | tabPageSystem.Name = "tabPageSystem"; |
| | | tabPageSystem.Size = new Size(356, 315); |
| | | // |
| | | // systemLoginCtrl1 |
| | | // |
| | | systemLoginCtrl1.Dock = DockStyle.Fill; |
| | | systemLoginCtrl1.Location = new Point(0, 0); |
| | | systemLoginCtrl1.Name = "systemLoginCtrl1"; |
| | | systemLoginCtrl1.Size = new Size(356, 315); |
| | | systemLoginCtrl1.TabIndex = 0; |
| | | // |
| | | // tabPageSms |
| | | // |
| | | tabPageSms.Appearance.BackColor = Color.White; |
| | | tabPageSms.Appearance.Options.UseBackColor = true; |
| | | tabPageSms.Caption = "短信登录"; |
| | | tabPageSms.Controls.Add(smsLoginCtrl1); |
| | | tabPageSms.Name = "tabPageSms"; |
| | | tabPageSms.Size = new Size(356, 315); |
| | | // |
| | | // smsLoginCtrl1 |
| | | // |
| | | smsLoginCtrl1.Dock = DockStyle.Fill; |
| | | smsLoginCtrl1.Location = new Point(0, 0); |
| | | smsLoginCtrl1.Name = "smsLoginCtrl1"; |
| | | smsLoginCtrl1.Size = new Size(356, 315); |
| | | smsLoginCtrl1.TabIndex = 0; |
| | | // |
| | | // tabPageWechat |
| | | // |
| | | tabPageWechat.Appearance.BackColor = Color.White; |
| | | tabPageWechat.Appearance.Options.UseBackColor = true; |
| | | tabPageWechat.Caption = "微信登录"; |
| | | tabPageWechat.Controls.Add(wechatLoginCtrl1); |
| | | tabPageWechat.Name = "tabPageWechat"; |
| | | tabPageWechat.Size = new Size(356, 315); |
| | | // |
| | | // wechatLoginCtrl1 |
| | | // |
| | | wechatLoginCtrl1.Dock = DockStyle.Fill; |
| | | wechatLoginCtrl1.Location = new Point(0, 0); |
| | | wechatLoginCtrl1.Name = "wechatLoginCtrl1"; |
| | | wechatLoginCtrl1.Size = new Size(356, 315); |
| | | wechatLoginCtrl1.TabIndex = 0; |
| | | // |
| | | // pictureEdit1 |
| | | // |
| | | pictureEdit1.EditValue = Xhs.Core.Properties.Resources.loginbg; |
| | | pictureEdit1.Location = new Point(0, 59); |
| | | pictureEdit1.Name = "pictureEdit1"; |
| | | pictureEdit1.Properties.AllowFocused = false; |
| | | pictureEdit1.Properties.Appearance.BackColor = Color.FromArgb(76, 132, 191); |
| | | pictureEdit1.Properties.Appearance.Options.UseBackColor = true; |
| | | pictureEdit1.Properties.ReadOnly = true; |
| | | pictureEdit1.Properties.ShowMenu = false; |
| | | pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch; |
| | | pictureEdit1.Size = new Size(637, 491); |
| | | pictureEdit1.StyleController = layoutControl1; |
| | | pictureEdit1.TabIndex = 7; |
| | | // |
| | | // marqueeProgressBarControl1 |
| | | // |
| | |
| | | marqueeProgressBarControl1.StyleController = layoutControl1; |
| | | marqueeProgressBarControl1.TabIndex = 6; |
| | | // |
| | | // layoutControl2 |
| | | // |
| | | layoutControl2.Controls.Add(labelControl1); |
| | | layoutControl2.Controls.Add(btnCancel); |
| | | layoutControl2.Controls.Add(btnLogin); |
| | | layoutControl2.Controls.Add(ckRemember); |
| | | layoutControl2.Controls.Add(txtPwd); |
| | | layoutControl2.Controls.Add(txtLoginName); |
| | | layoutControl2.Controls.Add(labTitle); |
| | | layoutControl2.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem9 }); |
| | | layoutControl2.Location = new Point(693, 172); |
| | | layoutControl2.Margin = new Padding(3, 2, 3, 2); |
| | | layoutControl2.Name = "layoutControl2"; |
| | | layoutControl2.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(943, 480, 650, 400); |
| | | layoutControl2.Root = layoutControlGroup1; |
| | | layoutControl2.Size = new Size(302, 302); |
| | | layoutControl2.TabIndex = 5; |
| | | layoutControl2.Text = "layoutControl2"; |
| | | // |
| | | // labelControl1 |
| | | // |
| | | labelControl1.Appearance.Options.UseTextOptions = true; |
| | | labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | labelControl1.AppearanceHovered.ForeColor = Color.FromArgb(255, 128, 0); |
| | | labelControl1.AppearanceHovered.Options.UseForeColor = true; |
| | | labelControl1.AppearancePressed.ForeColor = Color.FromArgb(255, 128, 0); |
| | | labelControl1.AppearancePressed.Options.UseForeColor = true; |
| | | labelControl1.Location = new Point(155, 167); |
| | | labelControl1.Margin = new Padding(3, 2, 3, 2); |
| | | labelControl1.Name = "labelControl1"; |
| | | labelControl1.Size = new Size(136, 19); |
| | | labelControl1.StyleController = layoutControl2; |
| | | labelControl1.TabIndex = 10; |
| | | labelControl1.Text = "忘记密码"; |
| | | labelControl1.Visible = false; |
| | | // |
| | | // btnCancel |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(14, 210); |
| | | btnCancel.Margin = new Padding(3, 2, 3, 2); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(133, 28); |
| | | btnCancel.StyleController = layoutControl2; |
| | | btnCancel.TabIndex = 9; |
| | | btnCancel.Text = "取消"; |
| | | btnCancel.Click += btnCancel_Click; |
| | | // |
| | | // btnLogin |
| | | // |
| | | btnLogin.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnLogin.Appearance.Options.UseBackColor = true; |
| | | btnLogin.Location = new Point(155, 210); |
| | | btnLogin.Margin = new Padding(3, 2, 3, 2); |
| | | btnLogin.Name = "btnLogin"; |
| | | btnLogin.Size = new Size(133, 28); |
| | | btnLogin.StyleController = layoutControl2; |
| | | btnLogin.TabIndex = 8; |
| | | btnLogin.Text = "登录"; |
| | | btnLogin.Click += btnLogin_Click; |
| | | // |
| | | // ckRemember |
| | | // |
| | | ckRemember.Location = new Point(14, 170); |
| | | ckRemember.Margin = new Padding(3, 2, 3, 2); |
| | | ckRemember.Name = "ckRemember"; |
| | | ckRemember.Properties.AllowFocused = false; |
| | | ckRemember.Properties.AutoHeight = false; |
| | | ckRemember.Properties.AutoWidth = true; |
| | | ckRemember.Properties.Caption = "记住密码"; |
| | | ckRemember.Size = new Size(71, 18); |
| | | ckRemember.StyleController = layoutControl2; |
| | | ckRemember.TabIndex = 7; |
| | | // |
| | | // txtPwd |
| | | // |
| | | txtPwd.EditValue = ""; |
| | | txtPwd.Location = new Point(14, 122); |
| | | txtPwd.Margin = new Padding(3, 2, 3, 2); |
| | | txtPwd.Name = "txtPwd"; |
| | | txtPwd.Properties.AutoHeight = false; |
| | | txtPwd.Properties.NullValuePrompt = "请输入密码"; |
| | | txtPwd.Properties.PasswordChar = '*'; |
| | | txtPwd.Size = new Size(274, 26); |
| | | txtPwd.StyleController = layoutControl2; |
| | | txtPwd.TabIndex = 6; |
| | | txtPwd.KeyPress += txtPwd_KeyPress; |
| | | // |
| | | // txtLoginName |
| | | // |
| | | txtLoginName.Location = new Point(14, 78); |
| | | txtLoginName.Margin = new Padding(3, 2, 3, 2); |
| | | txtLoginName.Name = "txtLoginName"; |
| | | txtLoginName.Properties.AutoHeight = false; |
| | | txtLoginName.Properties.NullValuePrompt = "请输入用户名"; |
| | | txtLoginName.Size = new Size(274, 26); |
| | | txtLoginName.StyleController = layoutControl2; |
| | | txtLoginName.TabIndex = 5; |
| | | txtLoginName.KeyPress += txtLoginName_KeyPress; |
| | | // |
| | | // labTitle |
| | | // |
| | | labTitle.Appearance.FontSizeDelta = 10; |
| | | labTitle.Appearance.ForeColor = Color.White; |
| | | labTitle.Appearance.Options.UseFont = true; |
| | | labTitle.Appearance.Options.UseForeColor = true; |
| | | labTitle.Location = new Point(14, 13); |
| | | labTitle.Margin = new Padding(3, 2, 3, 2); |
| | | labTitle.Name = "labTitle"; |
| | | labTitle.Size = new Size(274, 53); |
| | | labTitle.StyleController = layoutControl2; |
| | | labTitle.TabIndex = 4; |
| | | labTitle.Text = "用户登录"; |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = labelControl1; |
| | | layoutControlItem9.Location = new Point(163, 200); |
| | | layoutControlItem9.MinSize = new Size(75, 17); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem9.OptionsTableLayoutItem.RowIndex = 3; |
| | | layoutControlItem9.Size = new Size(163, 60); |
| | | layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem9.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 11, 11); |
| | | layoutControlItem9.TextSize = new Size(0, 0); |
| | | layoutControlItem9.TextVisible = false; |
| | | // |
| | | // layoutControlGroup1 |
| | | // |
| | | layoutControlGroup1.AppearanceGroup.BackColor = Color.FromArgb(80, 170, 220); |
| | | layoutControlGroup1.AppearanceGroup.Options.UseBackColor = true; |
| | | layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | layoutControlGroup1.GroupBordersVisible = false; |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem4, layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem8 }); |
| | | layoutControlGroup1.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | layoutControlGroup1.Name = "Root"; |
| | | columnDefinition1.SizeType = SizeType.Percent; |
| | | columnDefinition1.Width = 50D; |
| | | columnDefinition2.SizeType = SizeType.Percent; |
| | | columnDefinition2.Width = 50D; |
| | | layoutControlGroup1.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition1, columnDefinition2 }); |
| | | rowDefinition1.Height = 59D; |
| | | rowDefinition1.SizeType = SizeType.Absolute; |
| | | rowDefinition2.Height = 44D; |
| | | rowDefinition2.SizeType = SizeType.Absolute; |
| | | rowDefinition3.Height = 44D; |
| | | rowDefinition3.SizeType = SizeType.Absolute; |
| | | rowDefinition4.Height = 44D; |
| | | rowDefinition4.SizeType = SizeType.Absolute; |
| | | rowDefinition5.Height = 44D; |
| | | rowDefinition5.SizeType = SizeType.Absolute; |
| | | layoutControlGroup1.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2, rowDefinition3, rowDefinition4, rowDefinition5 }); |
| | | layoutControlGroup1.Size = new Size(302, 302); |
| | | layoutControlGroup1.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = labTitle; |
| | | layoutControlItem3.Location = new Point(0, 0); |
| | | layoutControlItem3.MinSize = new Size(75, 17); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.OptionsTableLayoutItem.ColumnSpan = 2; |
| | | layoutControlItem3.Size = new Size(282, 59); |
| | | layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem3.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 1, 1); |
| | | layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextToControlDistance = 0; |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = txtLoginName; |
| | | layoutControlItem4.Location = new Point(0, 59); |
| | | layoutControlItem4.MinSize = new Size(163, 22); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.OptionsTableLayoutItem.ColumnSpan = 2; |
| | | layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; |
| | | layoutControlItem4.Size = new Size(282, 44); |
| | | layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem4.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 7, 7); |
| | | layoutControlItem4.Text = "用户名"; |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = txtPwd; |
| | | layoutControlItem5.Location = new Point(0, 103); |
| | | layoutControlItem5.MinSize = new Size(163, 22); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.OptionsTableLayoutItem.ColumnSpan = 2; |
| | | layoutControlItem5.OptionsTableLayoutItem.RowIndex = 2; |
| | | layoutControlItem5.Size = new Size(282, 44); |
| | | layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem5.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 7, 7); |
| | | layoutControlItem5.Text = "密码"; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | | layoutControlItem5.TextVisible = false; |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = ckRemember; |
| | | layoutControlItem6.Location = new Point(0, 147); |
| | | layoutControlItem6.MinSize = new Size(80, 20); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.OptionsTableLayoutItem.RowIndex = 3; |
| | | layoutControlItem6.Size = new Size(141, 44); |
| | | layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem6.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 11, 11); |
| | | layoutControlItem6.Text = "记住密码"; |
| | | layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Left; |
| | | layoutControlItem6.TextSize = new Size(0, 0); |
| | | layoutControlItem6.TextVisible = false; |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = btnLogin; |
| | | layoutControlItem7.Location = new Point(141, 191); |
| | | layoutControlItem7.MaxSize = new Size(0, 46); |
| | | layoutControlItem7.MinSize = new Size(87, 46); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem7.OptionsTableLayoutItem.RowIndex = 4; |
| | | layoutControlItem7.Size = new Size(141, 91); |
| | | layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem7.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 7, 7); |
| | | layoutControlItem7.TextSize = new Size(0, 0); |
| | | layoutControlItem7.TextVisible = false; |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = btnCancel; |
| | | layoutControlItem8.Location = new Point(0, 191); |
| | | layoutControlItem8.MaxSize = new Size(0, 46); |
| | | layoutControlItem8.MinSize = new Size(87, 46); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.OptionsTableLayoutItem.RowIndex = 4; |
| | | layoutControlItem8.Size = new Size(141, 91); |
| | | layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem8.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 7, 7); |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | | // Root |
| | | // |
| | | Root.BackgroundImageOptions.Layout = ImageLayout.Zoom; |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { labSysTitle, layoutControlItem2, itemForProgress }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { labSysTitle, itemForProgress, layoutControlItem1, layoutControlItem2 }); |
| | | Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; |
| | | Root.Name = "Root"; |
| | | columnDefinition3.SizeType = SizeType.Percent; |
| | | columnDefinition1.SizeType = SizeType.Percent; |
| | | columnDefinition1.Width = 100D; |
| | | columnDefinition2.SizeType = SizeType.Absolute; |
| | | columnDefinition2.Width = 360D; |
| | | columnDefinition3.SizeType = SizeType.Absolute; |
| | | columnDefinition3.Width = 100D; |
| | | columnDefinition4.SizeType = SizeType.Absolute; |
| | | columnDefinition4.Width = 306D; |
| | | columnDefinition5.SizeType = SizeType.Absolute; |
| | | columnDefinition5.Width = 100D; |
| | | Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition3, columnDefinition4, columnDefinition5 }); |
| | | rowDefinition6.Height = 59D; |
| | | rowDefinition6.SizeType = SizeType.Absolute; |
| | | rowDefinition7.Height = 111D; |
| | | rowDefinition7.SizeType = SizeType.Absolute; |
| | | rowDefinition8.Height = 100D; |
| | | rowDefinition8.SizeType = SizeType.Percent; |
| | | rowDefinition9.Height = 74D; |
| | | rowDefinition9.SizeType = SizeType.Absolute; |
| | | rowDefinition10.Height = 15D; |
| | | rowDefinition10.SizeType = SizeType.Absolute; |
| | | Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition6, rowDefinition7, rowDefinition8, rowDefinition9, rowDefinition10 }); |
| | | Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition1, columnDefinition2, columnDefinition3 }); |
| | | rowDefinition1.Height = 59D; |
| | | rowDefinition1.SizeType = SizeType.Absolute; |
| | | rowDefinition2.Height = 60D; |
| | | rowDefinition2.SizeType = SizeType.Absolute; |
| | | rowDefinition3.Height = 100D; |
| | | rowDefinition3.SizeType = SizeType.Percent; |
| | | rowDefinition4.Height = 74D; |
| | | rowDefinition4.SizeType = SizeType.Absolute; |
| | | rowDefinition5.Height = 15D; |
| | | rowDefinition5.SizeType = SizeType.Absolute; |
| | | Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2, rowDefinition3, rowDefinition4, rowDefinition5 }); |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(1097, 565); |
| | | Root.TextVisible = false; |
| | |
| | | labSysTitle.AppearanceItemCaption.ForeColor = Color.White; |
| | | labSysTitle.AppearanceItemCaption.Options.UseFont = true; |
| | | labSysTitle.AppearanceItemCaption.Options.UseForeColor = true; |
| | | labSysTitle.CustomizationFormText = "循环水分析系统"; |
| | | labSysTitle.CustomizationFormText = "循环水仿真模拟系统"; |
| | | labSysTitle.Location = new Point(0, 0); |
| | | labSysTitle.Name = "labSysTitle"; |
| | | labSysTitle.OptionsTableLayoutItem.ColumnSpan = 3; |
| | | labSysTitle.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | labSysTitle.Size = new Size(1097, 59); |
| | | labSysTitle.Text = " 循环水分析系统"; |
| | | labSysTitle.Text = "循环水仿真模拟系统"; |
| | | labSysTitle.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | labSysTitle.TextSize = new Size(234, 39); |
| | | labSysTitle.TextSize = new Size(288, 39); |
| | | labSysTitle.MouseDown += labSysTitle_MouseDown; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = layoutControl2; |
| | | layoutControlItem2.Location = new Point(691, 170); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem2.OptionsTableLayoutItem.RowIndex = 2; |
| | | layoutControlItem2.Size = new Size(306, 306); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // itemForProgress |
| | | // |
| | |
| | | itemForProgress.TextVisible = false; |
| | | itemForProgress.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = pictureEdit1; |
| | | layoutControlItem1.Location = new Point(0, 59); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1; |
| | | layoutControlItem1.OptionsTableLayoutItem.RowSpan = 3; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem1.Size = new Size(637, 491); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = tabPane1; |
| | | layoutControlItem2.Location = new Point(637, 119); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; |
| | | layoutControlItem2.OptionsTableLayoutItem.RowIndex = 2; |
| | | layoutControlItem2.Size = new Size(360, 357); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // LoginFrm |
| | | // |
| | | Appearance.BackColor = Color.FromArgb(76, 132, 191); |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | BackgroundImageLayoutStore = ImageLayout.Stretch; |
| | | BackgroundImageStore = Xhs.Core.Properties.Resources.loginbg; |
| | | ClientSize = new Size(1097, 565); |
| | | Controls.Add(layoutControl1); |
| | | DoubleBuffered = true; |
| | |
| | | Text = "LoginBigFrm"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)tabPane1).EndInit(); |
| | | tabPane1.ResumeLayout(false); |
| | | tabPageSystem.ResumeLayout(false); |
| | | tabPageSms.ResumeLayout(false); |
| | | tabPageWechat.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)pictureEdit1.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)marqueeProgressBarControl1.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl2).EndInit(); |
| | | layoutControl2.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)ckRemember.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtPwd.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)txtLoginName.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)labSysTitle).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)itemForProgress).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.SimpleLabelItem labSysTitle; |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl2; |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraEditors.SimpleButton btnLogin; |
| | | private DevExpress.XtraEditors.CheckEdit ckRemember; |
| | | private DevExpress.XtraEditors.TextEdit txtPwd; |
| | | private DevExpress.XtraEditors.TextEdit txtLoginName; |
| | | private DevExpress.XtraEditors.LabelControl labTitle; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraEditors.LabelControl labelControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
| | | private DevExpress.XtraEditors.MarqueeProgressBarControl marqueeProgressBarControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem itemForProgress; |
| | | private DevExpress.XtraEditors.PictureEdit pictureEdit1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraBars.Navigation.TabPane tabPane1; |
| | | private DevExpress.XtraBars.Navigation.TabNavigationPage tabPageSystem; |
| | | private DevExpress.XtraBars.Navigation.TabNavigationPage tabPageSms; |
| | | private DevExpress.XtraBars.Navigation.TabNavigationPage tabPageWechat; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private SystemLoginCtrl systemLoginCtrl1; |
| | | private SmsLoginCtrl smsLoginCtrl1; |
| | | private WechatLoginCtrl wechatLoginCtrl1; |
| | | } |
| | | } |