duheng
2025-01-17 61148aa5ceca69f5588bd3803aac83b2b9e5cfc6
优化界面
已修改7个文件
525 ■■■■■ 文件已修改
Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Desktop/HStation.Desktop.Xhs.Core/MainForm.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserMgrPage.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Auth.Core/06-user-info/UserInfoPage.Designer.cs 406 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Auth.Core/06-user-info/UserInfoPage.cs 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Auth.Core/06-user-info/UserInfoPage.resx 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Core/00-UICore/01-用户登陆类/GlobalParas.cs 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs
@@ -418,6 +418,8 @@
            svgImg32Model.Add("menu", "image://svgimages/pdf viewer/menu.svg");
            svgImg32Model.Add("relations", "image://svgimages/dashboards/relations.svg");
            svgImg32Model.Add("text", "image://svgimages/spreadsheet/text.svg");
            svgImg32Model.Add("functionsinformation", "image://svgimages/spreadsheet/functionsinformation.svg");
            svgImg32Model.Add("editrangepermission", "image://svgimages/richedit/editrangepermission.svg");
            // 
            // flyoutPanel2
            // 
Desktop/HStation.Desktop.Xhs.Core/MainForm.cs
@@ -470,7 +470,7 @@
            var peekUserLoginLog = new TilePeekItem();
            peekUserLoginLog.Id = AuthFunctionHelper.UserLoginLog;
            peekUserLoginLog.Caption = "登录日志";
            peekUserLoginLog.SvgImage = svgImg32Model[1];
            peekUserLoginLog.SvgImage = svgImg32Model[26];
            peekUserLoginLog.SvgImageSize = new Size(24, 24);
            peekUserLoginLog.Tag = AuthFunctionHelper.UserLoginLog;
            list.Add(peekUserLoginLog);
@@ -479,7 +479,7 @@
            var peekUserInfo = new TilePeekItem();
            peekUserInfo.Id = AuthFunctionHelper.UserInfo;
            peekUserInfo.Caption = "个人中心";
            peekUserInfo.SvgImage = svgImg32Model[1];
            peekUserInfo.SvgImage = svgImg32Model[27];
            peekUserInfo.SvgImageSize = new Size(24, 24);
            peekUserInfo.Tag = AuthFunctionHelper.UserInfo;
            list.Add(peekUserInfo);
WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserMgrPage.cs
@@ -515,7 +515,7 @@
            if (e.Column == this.colEditPwd)
            {
                var dlg = new UpdatePwdDlg();
                dlg.SetBindingData(vm.ID);//不对要修改,还是做成列表
                dlg.SetBindingData(vm.ID);
                dlg.ShowDialog();
            }
        }
WinFrmUI/HStation.WinFrmUI.Auth.Core/06-user-info/UserInfoPage.Designer.cs
@@ -29,26 +29,33 @@
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
            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.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserInfoPage));
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
            layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
            txtMobileNumber = new DevExpress.XtraEditors.TextEdit();
            txtEditAdminType = new DevExpress.XtraEditors.ImageComboBoxEdit();
            txtEditUserName = new DevExpress.XtraEditors.TextEdit();
            txtAccount = new DevExpress.XtraEditors.TextEdit();
            textEdit3 = new DevExpress.XtraEditors.TextEdit();
            txtAccountName = new DevExpress.XtraEditors.TextEdit();
            textAccountType = new DevExpress.XtraEditors.TextEdit();
            BtnResetPwd = new DevExpress.XtraEditors.SimpleButton();
            BtnEditPwd = new DevExpress.XtraEditors.SimpleButton();
            BtnPhoneBinding = new DevExpress.XtraEditors.SimpleButton();
            BtnWechatBinding = new DevExpress.XtraEditors.SimpleButton();
            txtMobileNumber = new DevExpress.XtraEditors.TextEdit();
            txtEditAdminType = new DevExpress.XtraEditors.TextEdit();
            Root = new DevExpress.XtraLayout.LayoutControlGroup();
            emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
            emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
            tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup();
            layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup();
            layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
            emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem();
            emptySpaceItem6 = new DevExpress.XtraLayout.EmptySpaceItem();
            layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
            layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
            layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
            layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
            layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -57,27 +64,23 @@
            layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
            emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
            layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
            layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
            layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup();
            layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
            emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
            dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components);
            emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem();
            layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
            buttonEditBinding = new DevExpress.XtraEditors.ButtonEdit();
            layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
            ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit();
            layoutControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)txtEditUserName.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)txtAccountName.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)textAccountType.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)txtMobileNumber.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)txtEditAdminType.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)txtEditUserName.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)txtAccount.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)textEdit3.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)Root).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit();
            ((System.ComponentModel.ISupportInitialize)tabbedControlGroup1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup4).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem5).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem6).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem11).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit();
@@ -86,210 +89,146 @@
            ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem3).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup2).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup4).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem4).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit();
            ((System.ComponentModel.ISupportInitialize)buttonEditBinding.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem12).BeginInit();
            SuspendLayout();
            // 
            // layoutControl1
            // 
            layoutControl1.Controls.Add(txtMobileNumber);
            layoutControl1.Controls.Add(txtEditAdminType);
            layoutControl1.Controls.Add(buttonEditBinding);
            layoutControl1.Controls.Add(txtEditUserName);
            layoutControl1.Controls.Add(txtAccount);
            layoutControl1.Controls.Add(textEdit3);
            layoutControl1.Controls.Add(txtAccountName);
            layoutControl1.Controls.Add(textAccountType);
            layoutControl1.Controls.Add(BtnResetPwd);
            layoutControl1.Controls.Add(BtnEditPwd);
            layoutControl1.Controls.Add(BtnPhoneBinding);
            layoutControl1.Controls.Add(BtnWechatBinding);
            layoutControl1.Controls.Add(txtMobileNumber);
            layoutControl1.Controls.Add(txtEditAdminType);
            layoutControl1.Dock = DockStyle.Fill;
            layoutControl1.Location = new Point(0, 0);
            layoutControl1.Name = "layoutControl1";
            layoutControl1.Root = Root;
            layoutControl1.Size = new Size(692, 467);
            layoutControl1.Size = new Size(946, 549);
            layoutControl1.TabIndex = 0;
            layoutControl1.Text = "layoutControl1";
            // 
            // txtMobileNumber
            //
            txtMobileNumber.Location = new Point(88, 145);
            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(411, 24);
            txtMobileNumber.StyleController = layoutControl1;
            txtMobileNumber.TabIndex = 5;
            //
            // txtEditAdminType
            //
            txtEditAdminType.Location = new Point(88, 169);
            txtEditAdminType.Name = "txtEditAdminType";
            txtEditAdminType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
            txtEditAdminType.Size = new Size(580, 20);
            txtEditAdminType.StyleController = layoutControl1;
            txtEditAdminType.TabIndex = 2;
            //
            // txtEditUserName
            // 
            txtEditUserName.Location = new Point(88, 145);
            txtEditUserName.Location = new Point(340, 154);
            txtEditUserName.Name = "txtEditUserName";
            txtEditUserName.Size = new Size(580, 20);
            txtEditUserName.Properties.ReadOnly = true;
            txtEditUserName.Properties.UseReadOnlyAppearance = false;
            txtEditUserName.Size = new Size(329, 20);
            txtEditUserName.StyleController = layoutControl1;
            txtEditUserName.TabIndex = 0;
            // 
            // txtAccount
            // txtAccountName
            // 
            txtAccount.Location = new Point(88, 193);
            txtAccount.Name = "txtAccount";
            txtAccount.Size = new Size(580, 20);
            txtAccount.StyleController = layoutControl1;
            txtAccount.TabIndex = 3;
            txtAccountName.Location = new Point(340, 202);
            txtAccountName.Name = "txtAccountName";
            txtAccountName.Properties.ReadOnly = true;
            txtAccountName.Properties.UseReadOnlyAppearance = false;
            txtAccountName.Size = new Size(329, 20);
            txtAccountName.StyleController = layoutControl1;
            txtAccountName.TabIndex = 3;
            // 
            // textEdit3
            // textAccountType
            // 
            textEdit3.Location = new Point(88, 217);
            textEdit3.Name = "textEdit3";
            textEdit3.Size = new Size(580, 20);
            textEdit3.StyleController = layoutControl1;
            textEdit3.TabIndex = 4;
            textAccountType.Location = new Point(340, 226);
            textAccountType.Name = "textAccountType";
            textAccountType.Properties.ReadOnly = true;
            textAccountType.Properties.UseReadOnlyAppearance = false;
            textAccountType.Size = new Size(329, 20);
            textAccountType.StyleController = layoutControl1;
            textAccountType.TabIndex = 4;
            // 
            // BtnResetPwd
            // 
            BtnResetPwd.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning;
            BtnResetPwd.Appearance.Options.UseBackColor = true;
            BtnResetPwd.Location = new Point(583, 241);
            BtnResetPwd.Location = new Point(614, 250);
            BtnResetPwd.Name = "BtnResetPwd";
            BtnResetPwd.Size = new Size(85, 22);
            BtnResetPwd.Size = new Size(55, 22);
            BtnResetPwd.StyleController = layoutControl1;
            BtnResetPwd.TabIndex = 5;
            BtnResetPwd.Text = "重置密码";
            BtnResetPwd.Click += BtnResetPwd_Click;
            // 
            // BtnEditPwd
            // 
            BtnEditPwd.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question;
            BtnEditPwd.Appearance.Options.UseBackColor = true;
            BtnEditPwd.Location = new Point(494, 241);
            BtnEditPwd.Location = new Point(555, 250);
            BtnEditPwd.Name = "BtnEditPwd";
            BtnEditPwd.Size = new Size(85, 22);
            BtnEditPwd.Size = new Size(55, 22);
            BtnEditPwd.StyleController = layoutControl1;
            BtnEditPwd.TabIndex = 6;
            BtnEditPwd.Text = "修改密码";
            BtnEditPwd.Click += BtnEditPwd_Click;
            // 
            // BtnPhoneBinding
            // txtMobileNumber
            // 
            BtnPhoneBinding.Location = new Point(24, 241);
            BtnPhoneBinding.Name = "BtnPhoneBinding";
            BtnPhoneBinding.Size = new Size(475, 22);
            BtnPhoneBinding.StyleController = layoutControl1;
            BtnPhoneBinding.TabIndex = 11;
            BtnPhoneBinding.Text = "手机绑定";
            BtnPhoneBinding.Click += BtnPhoneBinding_Click;
            txtMobileNumber.Location = new Point(340, 154);
            txtMobileNumber.Name = "txtMobileNumber";
            txtMobileNumber.Size = new Size(173, 20);
            txtMobileNumber.StyleController = layoutControl1;
            txtMobileNumber.TabIndex = 13;
            // 
            // BtnWechatBinding
            // txtEditAdminType
            // 
            BtnWechatBinding.Location = new Point(24, 215);
            BtnWechatBinding.Name = "BtnWechatBinding";
            BtnWechatBinding.Size = new Size(475, 22);
            BtnWechatBinding.StyleController = layoutControl1;
            BtnWechatBinding.TabIndex = 12;
            BtnWechatBinding.Text = "微信绑定";
            BtnWechatBinding.Click += btnWechatBinding_Click;
            txtEditAdminType.Location = new Point(340, 178);
            txtEditAdminType.Name = "txtEditAdminType";
            txtEditAdminType.Properties.ReadOnly = true;
            txtEditAdminType.Properties.UseReadOnlyAppearance = false;
            txtEditAdminType.Size = new Size(329, 20);
            txtEditAdminType.StyleController = layoutControl1;
            txtEditAdminType.TabIndex = 2;
            // 
            // Root
            // 
            Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
            Root.GroupBordersVisible = false;
            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { emptySpaceItem1, emptySpaceItem2, tabbedControlGroup1 });
            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { tabbedControlGroup1, emptySpaceItem1 });
            Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
            Root.Name = "Root";
            Root.Size = new Size(692, 467);
            columnDefinition1.SizeType = SizeType.Percent;
            columnDefinition1.Width = 60D;
            columnDefinition2.SizeType = SizeType.Percent;
            columnDefinition2.Width = 100D;
            columnDefinition3.SizeType = SizeType.Percent;
            columnDefinition3.Width = 60D;
            Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition1, columnDefinition2, columnDefinition3 });
            rowDefinition1.Height = 40D;
            rowDefinition1.SizeType = SizeType.Percent;
            rowDefinition2.Height = 100D;
            rowDefinition2.SizeType = SizeType.Percent;
            rowDefinition3.Height = 60D;
            rowDefinition3.SizeType = SizeType.Percent;
            Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2, rowDefinition3 });
            Root.Size = new Size(946, 549);
            Root.TextVisible = false;
            //
            // emptySpaceItem1
            //
            emptySpaceItem1.AllowHotTrack = false;
            emptySpaceItem1.Location = new Point(0, 0);
            emptySpaceItem1.Name = "emptySpaceItem1";
            emptySpaceItem1.Size = new Size(672, 97);
            emptySpaceItem1.TextSize = new Size(0, 0);
            //
            // emptySpaceItem2
            //
            emptySpaceItem2.AllowHotTrack = false;
            emptySpaceItem2.Location = new Point(0, 267);
            emptySpaceItem2.Name = "emptySpaceItem2";
            emptySpaceItem2.Size = new Size(672, 180);
            emptySpaceItem2.TextSize = new Size(0, 0);
            // 
            // tabbedControlGroup1
            // 
            tabbedControlGroup1.Location = new Point(0, 97);
            tabbedControlGroup1.Location = new Point(252, 106);
            tabbedControlGroup1.Name = "tabbedControlGroup1";
            tabbedControlGroup1.OptionsTableLayoutItem.ColumnIndex = 1;
            tabbedControlGroup1.OptionsTableLayoutItem.RowIndex = 1;
            tabbedControlGroup1.SelectedTabPage = layoutControlGroup4;
            tabbedControlGroup1.Size = new Size(672, 170);
            tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, layoutControlGroup2, layoutControlGroup4 });
            //
            // layoutControlGroup4
            //
            layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem9, emptySpaceItem5, emptySpaceItem6, layoutControlItem11, layoutControlItem8 });
            layoutControlGroup4.Location = new Point(0, 0);
            layoutControlGroup4.Name = "layoutControlGroup4";
            layoutControlGroup4.Size = new Size(648, 122);
            layoutControlGroup4.Text = "信息绑定";
            //
            // layoutControlItem9
            //
            layoutControlItem9.Control = txtMobileNumber;
            layoutControlItem9.Location = new Point(0, 0);
            layoutControlItem9.Name = "layoutControlItem9";
            layoutControlItem9.Size = new Size(479, 28);
            layoutControlItem9.Text = "手机号:";
            layoutControlItem9.TextSize = new Size(52, 14);
            //
            // emptySpaceItem5
            //
            emptySpaceItem5.AllowHotTrack = false;
            emptySpaceItem5.Location = new Point(0, 28);
            emptySpaceItem5.Name = "emptySpaceItem5";
            emptySpaceItem5.Size = new Size(479, 42);
            emptySpaceItem5.TextSize = new Size(0, 0);
            //
            // emptySpaceItem6
            //
            emptySpaceItem6.AllowHotTrack = false;
            emptySpaceItem6.Location = new Point(479, 0);
            emptySpaceItem6.Name = "emptySpaceItem6";
            emptySpaceItem6.Size = new Size(169, 122);
            emptySpaceItem6.TextSize = new Size(0, 0);
            //
            // layoutControlItem11
            //
            layoutControlItem11.Control = BtnPhoneBinding;
            layoutControlItem11.Location = new Point(0, 96);
            layoutControlItem11.Name = "layoutControlItem11";
            layoutControlItem11.Size = new Size(479, 26);
            layoutControlItem11.Text = "手机绑定";
            layoutControlItem11.TextSize = new Size(0, 0);
            layoutControlItem11.TextVisible = false;
            //
            // layoutControlItem8
            //
            layoutControlItem8.Control = BtnWechatBinding;
            layoutControlItem8.Location = new Point(0, 70);
            layoutControlItem8.Name = "layoutControlItem8";
            layoutControlItem8.Size = new Size(479, 26);
            layoutControlItem8.TextSize = new Size(0, 0);
            layoutControlItem8.TextVisible = false;
            tabbedControlGroup1.Size = new Size(421, 264);
            tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, layoutControlGroup4 });
            // 
            // layoutControlGroup1
            // 
            layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, layoutControlItem3, layoutControlItem4, layoutControlItem5, emptySpaceItem3, layoutControlItem6 });
            layoutControlGroup1.Location = new Point(0, 0);
            layoutControlGroup1.Name = "layoutControlGroup1";
            layoutControlGroup1.Size = new Size(648, 122);
            layoutControlGroup1.Size = new Size(397, 216);
            layoutControlGroup1.Text = "基础信息";
            // 
            // layoutControlItem1
@@ -298,7 +237,7 @@
            layoutControlItem1.Location = new Point(0, 0);
            layoutControlItem1.Name = "layoutControlItem1";
            layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1;
            layoutControlItem1.Size = new Size(648, 24);
            layoutControlItem1.Size = new Size(397, 24);
            layoutControlItem1.Text = "用户名:";
            layoutControlItem1.TextSize = new Size(52, 14);
            // 
@@ -307,34 +246,34 @@
            layoutControlItem2.Control = txtEditAdminType;
            layoutControlItem2.Location = new Point(0, 24);
            layoutControlItem2.Name = "layoutControlItem2";
            layoutControlItem2.Size = new Size(648, 24);
            layoutControlItem2.Size = new Size(397, 24);
            layoutControlItem2.Text = "管理类型:";
            layoutControlItem2.TextSize = new Size(52, 14);
            // 
            // layoutControlItem3
            // 
            layoutControlItem3.Control = txtAccount;
            layoutControlItem3.Control = txtAccountName;
            layoutControlItem3.Location = new Point(0, 48);
            layoutControlItem3.Name = "layoutControlItem3";
            layoutControlItem3.Size = new Size(648, 24);
            layoutControlItem3.Size = new Size(397, 24);
            layoutControlItem3.Text = "账户名:";
            layoutControlItem3.TextSize = new Size(52, 14);
            // 
            // layoutControlItem4
            // 
            layoutControlItem4.Control = textEdit3;
            layoutControlItem4.Control = textAccountType;
            layoutControlItem4.Location = new Point(0, 72);
            layoutControlItem4.Name = "layoutControlItem4";
            layoutControlItem4.Size = new Size(648, 24);
            layoutControlItem4.Size = new Size(397, 24);
            layoutControlItem4.Text = "账户类型:";
            layoutControlItem4.TextSize = new Size(52, 14);
            // 
            // layoutControlItem5
            // 
            layoutControlItem5.Control = BtnResetPwd;
            layoutControlItem5.Location = new Point(559, 96);
            layoutControlItem5.Location = new Point(338, 96);
            layoutControlItem5.Name = "layoutControlItem5";
            layoutControlItem5.Size = new Size(89, 26);
            layoutControlItem5.Size = new Size(59, 120);
            layoutControlItem5.TextSize = new Size(0, 0);
            layoutControlItem5.TextVisible = false;
            // 
@@ -343,24 +282,42 @@
            emptySpaceItem3.AllowHotTrack = false;
            emptySpaceItem3.Location = new Point(0, 96);
            emptySpaceItem3.Name = "emptySpaceItem3";
            emptySpaceItem3.Size = new Size(470, 26);
            emptySpaceItem3.Size = new Size(279, 120);
            emptySpaceItem3.TextSize = new Size(0, 0);
            // 
            // layoutControlItem6
            // 
            layoutControlItem6.Control = BtnEditPwd;
            layoutControlItem6.Location = new Point(470, 96);
            layoutControlItem6.Location = new Point(279, 96);
            layoutControlItem6.Name = "layoutControlItem6";
            layoutControlItem6.Size = new Size(89, 26);
            layoutControlItem6.Size = new Size(59, 120);
            layoutControlItem6.TextSize = new Size(0, 0);
            layoutControlItem6.TextVisible = false;
            // 
            // layoutControlGroup2
            // layoutControlGroup4
            // 
            layoutControlGroup2.Location = new Point(0, 0);
            layoutControlGroup2.Name = "layoutControlGroup2";
            layoutControlGroup2.Size = new Size(648, 122);
            layoutControlGroup2.Text = "修改密码";
            layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem9, layoutControlItem12 });
            layoutControlGroup4.Location = new Point(0, 0);
            layoutControlGroup4.Name = "layoutControlGroup4";
            layoutControlGroup4.Size = new Size(397, 216);
            layoutControlGroup4.Text = "信息绑定";
            //
            // layoutControlItem9
            //
            layoutControlItem9.Control = txtMobileNumber;
            layoutControlItem9.Location = new Point(0, 0);
            layoutControlItem9.Name = "layoutControlItem9";
            layoutControlItem9.Size = new Size(241, 216);
            layoutControlItem9.Text = "手机号:";
            layoutControlItem9.TextSize = new Size(52, 14);
            //
            // emptySpaceItem1
            //
            emptySpaceItem1.AllowHotTrack = false;
            emptySpaceItem1.Location = new Point(0, 0);
            emptySpaceItem1.Name = "emptySpaceItem1";
            emptySpaceItem1.Size = new Size(252, 106);
            emptySpaceItem1.TextSize = new Size(0, 0);
            // 
            // dxErrorProvider1
            // 
@@ -386,6 +343,39 @@
            layoutControlItem7.TextSize = new Size(0, 0);
            layoutControlItem7.TextVisible = false;
            // 
            // buttonEditBinding
            //
            buttonEditBinding.Location = new Point(517, 154);
            buttonEditBinding.Margin = new Padding(2);
            buttonEditBinding.Name = "buttonEditBinding";
            buttonEditBinding.Properties.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
            buttonEditBinding.Properties.AllowHtmlDraw = DevExpress.Utils.DefaultBoolean.False;
            buttonEditBinding.Properties.BeepOnError = true;
            editorButtonImageOptions1.EnableTransparency = false;
            editorButtonImageOptions1.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
            editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage");
            editorButtonImageOptions1.SvgImageSize = new Size(14, 14);
            editorButtonImageOptions2.EnableTransparency = false;
            editorButtonImageOptions2.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
            editorButtonImageOptions2.SvgImageSize = new Size(14, 14);
            buttonEditBinding.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "手机绑定", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "手机号绑定", "Phone", null, DevExpress.Utils.ToolTipAnchor.Default), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "微信绑定", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "微信绑定", "Wechat", null, DevExpress.Utils.ToolTipAnchor.Default) });
            buttonEditBinding.Properties.ContextImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False;
            buttonEditBinding.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
            buttonEditBinding.Properties.UseMaskAsDisplayFormat = true;
            buttonEditBinding.Size = new Size(152, 23);
            buttonEditBinding.StyleController = layoutControl1;
            buttonEditBinding.TabIndex = 7;
            buttonEditBinding.ButtonClick += buttonEditBinding_ButtonClick;
             //
            // layoutControlItem12
            //
            layoutControlItem12.Control = buttonEditBinding;
            layoutControlItem12.Location = new Point(241, 0);
            layoutControlItem12.Name = "layoutControlItem12";
            layoutControlItem12.Size = new Size(156, 216);
            layoutControlItem12.TextSize = new Size(0, 0);
            layoutControlItem12.TextVisible = false;
            //
            // UserInfoPage
            // 
            Appearance.BackColor = SystemColors.Control;
@@ -394,24 +384,16 @@
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(layoutControl1);
            Name = "UserInfoPage";
            Size = new Size(692, 467);
            Size = new Size(946, 549);
            ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit();
            layoutControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)txtEditUserName.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)txtAccountName.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)textAccountType.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)txtMobileNumber.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)txtEditAdminType.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)txtEditUserName.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)txtAccount.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)textEdit3.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)Root).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit();
            ((System.ComponentModel.ISupportInitialize)tabbedControlGroup1).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup4).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem5).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem6).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem11).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit();
@@ -420,10 +402,14 @@
            ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem3).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup2).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlGroup4).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit();
            ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit();
            ((System.ComponentModel.ISupportInitialize)emptySpaceItem4).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit();
            ((System.ComponentModel.ISupportInitialize)buttonEditBinding.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)layoutControlItem12).EndInit();
            ResumeLayout(false);
        }
@@ -432,34 +418,28 @@
        private DevExpress.XtraLayout.LayoutControl layoutControl1;
        private DevExpress.XtraLayout.LayoutControlGroup Root;
        private DevExpress.XtraEditors.TextEdit txtEditUserName;
        private DevExpress.XtraEditors.ImageComboBoxEdit txtEditAdminType;
        private DevExpress.XtraEditors.TextEdit txtAccount;
        private DevExpress.XtraEditors.TextEdit textEdit3;
        private DevExpress.XtraEditors.TextEdit txtAccountName;
        private DevExpress.XtraEditors.TextEdit textAccountType;
        private DevExpress.XtraEditors.SimpleButton BtnResetPwd;
        private DevExpress.XtraEditors.SimpleButton BtnEditPwd;
        private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem4;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
        private DevExpress.XtraLayout.TabbedControlGroup tabbedControlGroup1;
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup4;
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
        private DevExpress.XtraLayout.TabbedControlGroup tabbedControlGroup1;
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2;
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
        private DevExpress.XtraEditors.SimpleButton BtnResetPwd;
        private DevExpress.XtraEditors.SimpleButton BtnEditPwd;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup4;
        private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem5;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem4;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
        private DevExpress.XtraEditors.TextEdit txtMobileNumber;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem6;
        private DevExpress.XtraEditors.SimpleButton BtnPhoneBinding;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
        private DevExpress.XtraEditors.SimpleButton BtnWechatBinding;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
        private DevExpress.XtraEditors.TextEdit txtEditAdminType;
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
        private DevExpress.XtraEditors.ButtonEdit buttonEditBinding;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
    }
}
WinFrmUI/HStation.WinFrmUI.Auth.Core/06-user-info/UserInfoPage.cs
@@ -25,6 +25,7 @@
            InitializeComponent();
            this.PageTitle.Caption = "个人中心";
            this.PageTitle.SvgImageSize = new Size(24, 24);
            this.Load += UserInfoPage_Load;
        }
        private const string _smsTemplate = "hzkw_sms_template";//手机号登录模板
@@ -34,10 +35,22 @@
        //修改密码
        private void BtnEditPwd_Click(object sender, EventArgs e)
        {
            var dlg = new UpdatePwdDlg();
            dlg.SetBindingData(GlobalParas._GlobalParas.LoginID);
            dlg.ShowDialog();
        }
        //初始化
        private void UserInfoPage_Load(object? sender, EventArgs e)
        {
            this.txtEditUserName.Text = GlobalParas._GlobalParas.LoginName;
            this.txtEditAdminType.Text = GlobalParas._GlobalParas.AdminType;
            this.txtAccountName.Text = GlobalParas._GlobalParas.AccountName;
            this.textAccountType.Text = GlobalParas._GlobalParas.LoginType;
        }
        //手机绑定
        private async void BtnPhoneBinding_Click(object sender, EventArgs e)
        private async void PhoneBinding()
        {
            if (!IsValidMobileNumber(this.txtMobileNumber.Text.Trim()))
            {
@@ -86,7 +99,7 @@
        }
        //微信绑定
        private void btnWechatBinding_Click(object sender, EventArgs e)
        private void WechatBinding()
        {
            var dlg = new WechatBindingDlg();
            dlg.SetBindingData();
@@ -130,5 +143,33 @@
            };
            dlg.ShowDialog();
        }
        //重置密码
        private async void BtnResetPwd_Click(object sender, EventArgs e)
        {
            if (XtraMessageBox.Show($"确认重置密码吗?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation) != DialogResult.OK)
                return;
            if (!await BLLFactory<Yw.BLL.UserLoginAccount>.Instance.ResetSystemLoginPwd(GlobalParas._GlobalParas.LoginID))
            {
                MessageBoxHelper.ShowError("重置失败!");
                return;
            }
            MessageBoxHelper.ShowSuccess("重置成功!");
        }
        private void buttonEditBinding_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            var tag_obj = e.Button.Tag;
            switch (tag_obj)
            {
                case "Phone":
                    PhoneBinding();
                    break;
                case "Wechat":
                    WechatBinding();
                    break;
            }
        }
    }
}
WinFrmUI/HStation.WinFrmUI.Auth.Core/06-user-info/UserInfoPage.resx
@@ -117,6 +117,32 @@
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <assembly alias="DevExpress.Data.v23.2" name="DevExpress.Data.v23.2, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
  <data name="editorButtonImageOptions1.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAADAEAAAC77u/
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
        Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
        MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5Z
        ZWxsb3d7ZmlsbDojRkZCMTE1O30KCS5SZWR7ZmlsbDojRDExQzFDO30KCS5HcmVlbntmaWxsOiMwMzlD
        MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
        Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntkaXNwbGF5Om5vbmU7fQoJLnN0M3tk
        aXNwbGF5OmlubGluZTtmaWxsOiNGRkIxMTU7fQoJLnN0NHtkaXNwbGF5OmlubGluZTt9Cgkuc3Q1e2Rp
        c3BsYXk6aW5saW5lO29wYWNpdHk6MC43NTt9Cgkuc3Q2e2Rpc3BsYXk6aW5saW5lO29wYWNpdHk6MC41
        O30KCS5zdDd7ZGlzcGxheTppbmxpbmU7ZmlsbDojMDM5QzIzO30KCS5zdDh7ZGlzcGxheTppbmxpbmU7
        ZmlsbDojRDExQzFDO30KCS5zdDl7ZGlzcGxheTppbmxpbmU7ZmlsbDojMTE3N0Q3O30KCS5zdDEwe2Rp
        c3BsYXk6aW5saW5lO2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+DQogIDxnIGlkPSJQaG9uZSI+DQogICAg
        PHBhdGggZD0iTTI3LjcsMjMuNmwtNS4zLTUuM2MtMC40LTAuNC0xLTAuNC0xLjQsMGwtMi44LDIuOGMt
        My4yLTEuNS01LjgtNC4xLTcuMy03LjNsMi44LTIuOGMwLjQtMC40LDAuNC0xLDAtMS40ICAgTDguNCw0
        LjNjLTAuNC0wLjQtMS0wLjQtMS41LDBMNC4zLDYuOUM0LjEsNy4yLDQsNy40LDQsNy43QzQsMTguOSwx
        My4xLDI4LDI0LjMsMjhjMC4zLDAsMC41LTAuMSwwLjctMC4zbDIuNi0yLjYgICBDMjguMSwyNC42LDI4
        LjEsMjQsMjcuNywyMy42eiIgY2xhc3M9IkJsdWUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
  </data>
  <metadata name="dxErrorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
WinFrmUI/HStation.WinFrmUI.Core/00-UICore/01-Óû§µÇ½Àà/GlobalParas.cs
@@ -1,4 +1,5 @@
using Yw.Dto;
using Yw.Auth;
using Yw.Dto;
namespace HStation
{
@@ -23,6 +24,23 @@
            _GlobalParas.ProductID = rhs.Software.Project.Product.ID;
            _GlobalParas.UserID = rhs.User.ID;
            _GlobalParas.SoftwareID = rhs.Software.ID;
            switch (rhs.User.AdminType)
            {
                case Yw.Model.eAdminType.Admin:
                    _GlobalParas.AdminType = "管理用户";
                    break;
                case Yw.Model.eAdminType.Normal:
                    _GlobalParas.AdminType = "常规用户";
                    break;
                case Yw.Model.eAdminType.System:
                    _GlobalParas.AdminType = "系统用户";
                    break;
            }
            _GlobalParas.AccountName = rhs.User.LoginAccount.Identifier;
            _GlobalParas.LoginType = rhs.User.LoginAccount.LoginType.Name;
            _GlobalParas.LoginID = rhs.User.LoginAccount.ID;
        }
        public long SoftwareID { get; set; }
@@ -53,6 +71,26 @@
        public long CreateUserID { get; set; }
        /// <summary>
        /// è´¦æˆ·å
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// ç®¡ç†ç±»åž‹
        /// </summary>
        public string AdminType { get; set; }
        /// <summary>
        /// è´¦æˆ·ç±»åž‹
        /// </summary>
        public string LoginType { get; set; }
        /// <summary>
        /// è´¦æˆ·ç±»åž‹
        /// </summary>
        public long LoginID { get; set; }
        /// <summary>
        /// å…³ç³»ç±»åž‹
        /// </summary>
        public string RelatedType { get; set; }