From a91c47d4ae8ad414e492a66f10eafce678892503 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 09 一月 2025 11:43:37 +0800 Subject: [PATCH] 修复权限远程问题 --- WinFrmUI/HStation.WinFrmUI.Auth.Core/02-role/ViewRoleDlg.Designer.cs | 293 ++++++++++++++++++++++++---------------------------------- 1 files changed, 123 insertions(+), 170 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Auth.Core/02-role/ViewRoleDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Auth.Core/02-role/ViewRoleDlg.Designer.cs index 393710e..d16257f 100644 --- a/WinFrmUI/HStation.WinFrmUI.Auth.Core/02-role/ViewRoleDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Auth.Core/02-role/ViewRoleDlg.Designer.cs @@ -1,6 +1,6 @@ 锘縩amespace HStation.WinFrmUI { - partial class ViewRoleDlg + partial class ViewRoleDlg { /// <summary> /// Required designer variable. @@ -28,114 +28,88 @@ /// </summary> private void InitializeComponent() { - layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - txtTagName = new DevExpress.XtraEditors.TextEdit(); - txtFlags = new DevExpress.XtraEditors.TextEdit(); - txtKeyWord = new DevExpress.XtraEditors.TextEdit(); - txtDescription = new DevExpress.XtraEditors.MemoEdit(); - txtMinorLoss = new DevExpress.XtraEditors.TextEdit(); - txtName = new DevExpress.XtraEditors.TextEdit(); + components = new System.ComponentModel.Container(); + layoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); + treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + NameTextEdit = new DevExpress.XtraEditors.TextEdit(); + TxtEditCode = new DevExpress.XtraEditors.TextEdit(); + DescriptionMemoEdit = new DevExpress.XtraEditors.MemoEdit(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); - layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); - ((ISupportInitialize)layoutControl1).BeginInit(); + layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); + ItemForName = new DevExpress.XtraLayout.LayoutControlItem(); + ItemForDescription = new DevExpress.XtraLayout.LayoutControlItem(); + ItemForCode = new DevExpress.XtraLayout.LayoutControlItem(); + dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); + ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); - ((ISupportInitialize)txtTagName.Properties).BeginInit(); - ((ISupportInitialize)txtFlags.Properties).BeginInit(); - ((ISupportInitialize)txtKeyWord.Properties).BeginInit(); - ((ISupportInitialize)txtDescription.Properties).BeginInit(); - ((ISupportInitialize)txtMinorLoss.Properties).BeginInit(); - ((ISupportInitialize)txtName.Properties).BeginInit(); - ((ISupportInitialize)Root).BeginInit(); - ((ISupportInitialize)layoutControlItem1).BeginInit(); - ((ISupportInitialize)layoutControlItem4).BeginInit(); - ((ISupportInitialize)layoutControlItem6).BeginInit(); - ((ISupportInitialize)layoutControlItem8).BeginInit(); - ((ISupportInitialize)layoutControlItem9).BeginInit(); - ((ISupportInitialize)layoutControlItem10).BeginInit(); + ((System.ComponentModel.ISupportInitialize)NameTextEdit.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)TxtEditCode.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)DescriptionMemoEdit.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)ItemForName).BeginInit(); + ((System.ComponentModel.ISupportInitialize)ItemForDescription).BeginInit(); + ((System.ComponentModel.ISupportInitialize)ItemForCode).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); SuspendLayout(); // // layoutControl1 // - layoutControl1.Controls.Add(txtTagName); - layoutControl1.Controls.Add(txtFlags); - layoutControl1.Controls.Add(txtKeyWord); - layoutControl1.Controls.Add(txtDescription); - layoutControl1.Controls.Add(txtMinorLoss); - layoutControl1.Controls.Add(txtName); + layoutControl1.Controls.Add(NameTextEdit); + layoutControl1.Controls.Add(TxtEditCode); + layoutControl1.Controls.Add(DescriptionMemoEdit); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); + layoutControl1.Margin = new Padding(3, 1, 3, 1); layoutControl1.Name = "layoutControl1"; - layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(826, 220, 650, 400); + layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(760, 110, 650, 400); layoutControl1.Root = Root; - layoutControl1.Size = new Size(665, 381); + layoutControl1.Size = new Size(438, 273); layoutControl1.TabIndex = 1; - layoutControl1.Text = "layoutControl1"; + layoutControl1.Text = "dataLayoutControl1"; // - // txtTagName + // treeListColumn1 // - txtTagName.Location = new Point(76, 60); - txtTagName.Name = "txtTagName"; - txtTagName.Properties.ReadOnly = true; - txtTagName.Properties.UseReadOnlyAppearance = false; - txtTagName.Size = new Size(577, 20); - txtTagName.StyleController = layoutControl1; - txtTagName.TabIndex = 8; + treeListColumn1.Caption = "treeListColumn1"; + treeListColumn1.FieldName = "Name"; + treeListColumn1.MinWidth = 17; + treeListColumn1.Name = "treeListColumn1"; + treeListColumn1.Visible = true; + treeListColumn1.VisibleIndex = 0; + treeListColumn1.Width = 66; // - // txtFlags + // NameTextEdit // - txtFlags.Location = new Point(398, 36); - txtFlags.Name = "txtFlags"; - txtFlags.Properties.ReadOnly = true; - txtFlags.Properties.UseReadOnlyAppearance = false; - txtFlags.Size = new Size(255, 20); - txtFlags.StyleController = layoutControl1; - txtFlags.TabIndex = 7; + NameTextEdit.Location = new Point(59, 12); + NameTextEdit.Margin = new Padding(3, 1, 3, 1); + NameTextEdit.Name = "NameTextEdit"; + NameTextEdit.Properties.ReadOnly = true; + NameTextEdit.Properties.UseReadOnlyAppearance = false; + NameTextEdit.Size = new Size(158, 20); + NameTextEdit.StyleController = layoutControl1; + NameTextEdit.TabIndex = 0; // - // txtKeyWord + // TxtEditTag // - txtKeyWord.Location = new Point(398, 12); - txtKeyWord.Name = "txtKeyWord"; - txtKeyWord.Properties.ReadOnly = true; - txtKeyWord.Properties.UseReadOnlyAppearance = false; - txtKeyWord.Size = new Size(255, 20); - txtKeyWord.StyleController = layoutControl1; - txtKeyWord.TabIndex = 2; + TxtEditCode.Location = new Point(268, 12); + TxtEditCode.Margin = new Padding(3, 1, 3, 1); + TxtEditCode.Name = "TxtEditCode"; + TxtEditCode.Properties.ReadOnly = true; + TxtEditCode.Properties.UseReadOnlyAppearance = false; + TxtEditCode.Size = new Size(158, 20); + TxtEditCode.StyleController = layoutControl1; + TxtEditCode.TabIndex = 2; // - // txtDescription + // DescriptionMemoEdit // - txtDescription.Location = new Point(76, 84); - txtDescription.Name = "txtDescription"; - txtDescription.Size = new Size(577, 285); - txtDescription.StyleController = layoutControl1; - txtDescription.TabIndex = 9; - // - // txtMinorLoss - // - txtMinorLoss.Location = new Point(76, 36); - txtMinorLoss.Name = "txtMinorLoss"; - txtMinorLoss.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; - txtMinorLoss.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); - txtMinorLoss.Properties.ReadOnly = true; - txtMinorLoss.Properties.UseReadOnlyAppearance = false; - txtMinorLoss.Size = new Size(254, 20); - txtMinorLoss.StyleController = layoutControl1; - txtMinorLoss.TabIndex = 5; - // - // txtName - // - txtName.Location = new Point(76, 12); - txtName.Name = "txtName"; - txtName.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; - txtName.Properties.ReadOnly = true; - txtName.Properties.UseReadOnlyAppearance = false; - txtName.Size = new Size(254, 20); - txtName.StyleController = layoutControl1; - txtName.TabIndex = 0; + DescriptionMemoEdit.Location = new Point(59, 36); + DescriptionMemoEdit.Margin = new Padding(3, 1, 3, 1); + DescriptionMemoEdit.Name = "DescriptionMemoEdit"; + DescriptionMemoEdit.Properties.ReadOnly = true; + DescriptionMemoEdit.Properties.UseReadOnlyAppearance = false; + DescriptionMemoEdit.Size = new Size(367, 225); + DescriptionMemoEdit.StyleController = layoutControl1; + DescriptionMemoEdit.TabIndex = 5; // // Root // @@ -143,110 +117,89 @@ Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem4, layoutControlItem6, layoutControlItem10, layoutControlItem9, layoutControlItem8 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 }); Root.Name = "Root"; - Root.Size = new Size(665, 381); + Root.Size = new Size(438, 273); Root.TextVisible = false; // - // layoutControlItem1 + // layoutControlGroup1 // - layoutControlItem1.Control = txtName; - layoutControlItem1.Location = new Point(0, 0); - layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(322, 24); - layoutControlItem1.Text = "鍚嶇О:"; - layoutControlItem1.TextSize = new Size(52, 14); + layoutControlGroup1.AllowDrawBackground = false; + layoutControlGroup1.GroupBordersVisible = false; + layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode }); + layoutControlGroup1.Location = new Point(0, 0); + layoutControlGroup1.Name = "autoGeneratedGroup0"; + layoutControlGroup1.Size = new Size(418, 253); // - // layoutControlItem4 + // ItemForName // - layoutControlItem4.Control = txtMinorLoss; - layoutControlItem4.Location = new Point(0, 24); - layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(322, 24); - layoutControlItem4.Text = "灞�闃荤郴鏁�:"; - layoutControlItem4.TextSize = new Size(52, 14); + ItemForName.AllowHtmlStringInCaption = true; + ItemForName.Control = NameTextEdit; + ItemForName.Location = new Point(0, 0); + ItemForName.Name = "ItemForName"; + ItemForName.Size = new Size(209, 24); + ItemForName.Text = "<color=red>*</color>鍚嶇О:"; + ItemForName.TextSize = new Size(35, 14); // - // layoutControlItem6 + // ItemForDescription // - layoutControlItem6.Control = txtDescription; - layoutControlItem6.Location = new Point(0, 72); - layoutControlItem6.Name = "layoutControlItem6"; - layoutControlItem6.Size = new Size(645, 289); - layoutControlItem6.Text = "璇存槑:"; - layoutControlItem6.TextSize = new Size(52, 14); + ItemForDescription.Control = DescriptionMemoEdit; + ItemForDescription.Location = new Point(0, 24); + ItemForDescription.Name = "ItemForDescription"; + ItemForDescription.Size = new Size(418, 229); + ItemForDescription.StartNewLine = true; + ItemForDescription.Text = "澶囨敞:"; + ItemForDescription.TextSize = new Size(35, 14); // - // layoutControlItem8 + // ItemForCode // - layoutControlItem8.Control = txtFlags; - layoutControlItem8.Location = new Point(322, 24); - layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(323, 24); - layoutControlItem8.Text = "鏍囩:"; - layoutControlItem8.TextSize = new Size(52, 14); + ItemForCode.AllowHtmlStringInCaption = true; + ItemForCode.Control = TxtEditCode; + ItemForCode.Location = new Point(209, 0); + ItemForCode.Name = "ItemForCode"; + ItemForCode.Size = new Size(209, 24); + ItemForCode.Text = "缂栫爜:"; + ItemForCode.TextSize = new Size(35, 14); // - // layoutControlItem9 + // dxErrorProvider1 // - layoutControlItem9.Control = txtTagName; - layoutControlItem9.Location = new Point(0, 48); - layoutControlItem9.Name = "layoutControlItem9"; - layoutControlItem9.Size = new Size(645, 24); - layoutControlItem9.Text = "鏍囧織:"; - layoutControlItem9.TextSize = new Size(52, 14); + dxErrorProvider1.ContainerControl = this; // - // layoutControlItem10 - // - layoutControlItem10.Control = txtKeyWord; - layoutControlItem10.Location = new Point(322, 0); - layoutControlItem10.Name = "layoutControlItem10"; - layoutControlItem10.Size = new Size(323, 24); - layoutControlItem10.Text = "鍏抽敭瀛�:"; - layoutControlItem10.TextSize = new Size(52, 14); - // - // ViewAssetsMeterMainDlg + // ViewRoleDlg // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(665, 381); + ClientSize = new Size(438, 273); Controls.Add(layoutControl1); - Name = "ViewAssetsMeterMainDlg"; + Margin = new Padding(3, 2, 3, 2); + Name = "ViewRoleDlg"; StartPosition = FormStartPosition.CenterParent; Text = "璇︾粏淇℃伅"; - ((ISupportInitialize)layoutControl1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); - ((ISupportInitialize)txtTagName.Properties).EndInit(); - ((ISupportInitialize)txtFlags.Properties).EndInit(); - ((ISupportInitialize)txtKeyWord.Properties).EndInit(); - ((ISupportInitialize)txtDescription.Properties).EndInit(); - ((ISupportInitialize)txtMinorLoss.Properties).EndInit(); - ((ISupportInitialize)txtName.Properties).EndInit(); - ((ISupportInitialize)Root).EndInit(); - ((ISupportInitialize)layoutControlItem1).EndInit(); - ((ISupportInitialize)layoutControlItem4).EndInit(); - ((ISupportInitialize)layoutControlItem6).EndInit(); - ((ISupportInitialize)layoutControlItem8).EndInit(); - ((ISupportInitialize)layoutControlItem9).EndInit(); - ((ISupportInitialize)layoutControlItem10).EndInit(); + ((System.ComponentModel.ISupportInitialize)NameTextEdit.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)TxtEditCode.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)DescriptionMemoEdit.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)Root).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); + ((System.ComponentModel.ISupportInitialize)ItemForName).EndInit(); + ((System.ComponentModel.ISupportInitialize)ItemForDescription).EndInit(); + ((System.ComponentModel.ISupportInitialize)ItemForCode).EndInit(); + ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); ResumeLayout(false); } #endregion - - private DevExpress.XtraLayout.LayoutControl layoutControl1; - private DevExpress.XtraEditors.MemoEdit txtDescription; - private DevExpress.XtraEditors.TextEdit txtMinorLoss; - private DevExpress.XtraEditors.TextEdit txtName; + private DevExpress.XtraDataLayout.DataLayoutControl layoutControl1; + private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; + private DevExpress.XtraEditors.TextEdit NameTextEdit; + private DevExpress.XtraEditors.TextEdit TxtEditCode; + private DevExpress.XtraEditors.MemoEdit DescriptionMemoEdit; private DevExpress.XtraLayout.LayoutControlGroup Root; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; - private DevExpress.XtraEditors.TextEdit txtKeyWord; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; - private DevExpress.XtraEditors.TextEdit txtTagName; - private DevExpress.XtraEditors.TextEdit txtFlags; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; + private DevExpress.XtraLayout.LayoutControlItem ItemForName; + private DevExpress.XtraLayout.LayoutControlItem ItemForDescription; + private DevExpress.XtraLayout.LayoutControlItem ItemForCode; + private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; } } \ No newline at end of file -- Gitblit v1.9.3