From 1ec65a7b983a7d519c3602d20a855ac1bac1825e Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期四, 20 三月 2025 16:24:40 +0800 Subject: [PATCH] 修改电价辅助类的命名空间 --- WinFrmUI/PBS.WinFrmUI/01-place/AddPlaceDlg.Designer.cs | 255 +++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 205 insertions(+), 50 deletions(-) diff --git a/WinFrmUI/PBS.WinFrmUI/01-place/AddPlaceDlg.Designer.cs b/WinFrmUI/PBS.WinFrmUI/01-place/AddPlaceDlg.Designer.cs index 84b41ae..ba872d8 100644 --- a/WinFrmUI/PBS.WinFrmUI/01-place/AddPlaceDlg.Designer.cs +++ b/WinFrmUI/PBS.WinFrmUI/01-place/AddPlaceDlg.Designer.cs @@ -1,4 +1,4 @@ -锘縩amespace HStation.WinFrmUI.PBS +锘縩amespace PBS.WinFrmUI { partial class AddPlaceDlg { @@ -28,26 +28,49 @@ /// </summary> private void InitializeComponent() { + components = new System.ComponentModel.Container(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); generalOkAndCancelCtrl1 = new Yw.WinFrmUI.GeneralOkAndCancelCtrl(); layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - txtEditPhoneNumber = new DevExpress.XtraEditors.TextEdit(); + txtEditName = new DevExpress.XtraEditors.TextEdit(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); panelControl1 = new DevExpress.XtraEditors.PanelControl(); + textEditAddress = new DevExpress.XtraEditors.TextEdit(); + memoEdit1 = new DevExpress.XtraEditors.MemoEdit(); + txtEditRegion = new DevExpress.XtraEditors.TreeListLookUpEdit(); + treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); + treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup(); + layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - textEdit1 = new DevExpress.XtraEditors.TextEdit(); + layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); + treeListColumn2 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit(); - ((System.ComponentModel.ISupportInitialize)txtEditPhoneNumber.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)txtEditName.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)panelControl1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)textEditAddress.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)memoEdit1.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)txtEditRegion.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)tabbedControlGroup1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)textEdit1.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); SuspendLayout(); // // Root @@ -56,116 +79,236 @@ Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem7, layoutControlItem8, layoutControlItem1, layoutControlItem2 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem7, layoutControlItem8, layoutControlItem1, tabbedControlGroup1, layoutControlItem3 }); Root.Name = "Root"; - Root.Size = new Size(607, 382); + Root.Size = new Size(811, 539); Root.TextVisible = false; // // layoutControlItem7 // layoutControlItem7.Control = generalOkAndCancelCtrl1; - layoutControlItem7.Location = new Point(0, 319); + layoutControlItem7.Location = new Point(0, 482); layoutControlItem7.Name = "layoutControlItem7"; - layoutControlItem7.Size = new Size(587, 43); + layoutControlItem7.Size = new Size(791, 37); layoutControlItem7.TextSize = new Size(0, 0); layoutControlItem7.TextVisible = false; // // generalOkAndCancelCtrl1 // - generalOkAndCancelCtrl1.ButtonCancelMaxSize = new Size(100, 26); - generalOkAndCancelCtrl1.ButtonCancelMinSize = new Size(100, 26); - generalOkAndCancelCtrl1.ButtonOkMaxSize = new Size(100, 26); - generalOkAndCancelCtrl1.ButtonOkMinSize = new Size(100, 26); - generalOkAndCancelCtrl1.Location = new Point(12, 331); + generalOkAndCancelCtrl1.ButtonCancelMaxSize = new Size(131, 42); + generalOkAndCancelCtrl1.ButtonCancelMinSize = new Size(114, 33); + generalOkAndCancelCtrl1.ButtonOkMaxSize = new Size(131, 42); + generalOkAndCancelCtrl1.ButtonOkMinSize = new Size(114, 33); + generalOkAndCancelCtrl1.Location = new Point(12, 494); + generalOkAndCancelCtrl1.Margin = new Padding(3, 5, 3, 5); generalOkAndCancelCtrl1.Name = "generalOkAndCancelCtrl1"; - generalOkAndCancelCtrl1.Size = new Size(583, 39); - generalOkAndCancelCtrl1.TabIndex = 2; + generalOkAndCancelCtrl1.Size = new Size(787, 33); + generalOkAndCancelCtrl1.TabIndex = 6; // // layoutControlItem8 // layoutControlItem8.AllowHtmlStringInCaption = true; - layoutControlItem8.Control = txtEditPhoneNumber; + layoutControlItem8.Control = txtEditName; layoutControlItem8.Location = new Point(0, 0); layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(587, 24); + layoutControlItem8.Size = new Size(791, 28); layoutControlItem8.Text = "<color=red>*</color>鍚嶇О:"; - layoutControlItem8.TextSize = new Size(35, 14); + layoutControlItem8.TextSize = new Size(65, 18); // - // txtEditPhoneNumber + // txtEditName // - txtEditPhoneNumber.Location = new Point(59, 12); - txtEditPhoneNumber.Name = "txtEditPhoneNumber"; - txtEditPhoneNumber.Size = new Size(536, 20); - txtEditPhoneNumber.StyleController = layoutControl1; - txtEditPhoneNumber.TabIndex = 0; + txtEditName.Location = new Point(89, 12); + txtEditName.Margin = new Padding(3, 4, 3, 4); + txtEditName.Name = "txtEditName"; + txtEditName.Size = new Size(710, 24); + txtEditName.StyleController = layoutControl1; + txtEditName.TabIndex = 0; // // layoutControl1 // layoutControl1.Controls.Add(panelControl1); layoutControl1.Controls.Add(generalOkAndCancelCtrl1); - layoutControl1.Controls.Add(txtEditPhoneNumber); - layoutControl1.Controls.Add(textEdit1); + layoutControl1.Controls.Add(txtEditName); + layoutControl1.Controls.Add(textEditAddress); + layoutControl1.Controls.Add(memoEdit1); + layoutControl1.Controls.Add(txtEditRegion); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); + layoutControl1.Margin = new Padding(3, 4, 3, 4); layoutControl1.Name = "layoutControl1"; layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(826, 220, 650, 400); layoutControl1.Root = Root; - layoutControl1.Size = new Size(607, 382); + layoutControl1.Size = new Size(811, 539); layoutControl1.TabIndex = 2; layoutControl1.Text = "layoutControl1"; // // panelControl1 // - panelControl1.Location = new Point(12, 60); + panelControl1.Location = new Point(15, 129); + panelControl1.Margin = new Padding(3, 4, 3, 4); panelControl1.Name = "panelControl1"; - panelControl1.Size = new Size(583, 267); - panelControl1.TabIndex = 4; + panelControl1.Size = new Size(781, 358); + panelControl1.TabIndex = 1; + // + // textEditAddress + // + textEditAddress.Location = new Point(89, 68); + textEditAddress.Margin = new Padding(3, 4, 3, 4); + textEditAddress.Name = "textEditAddress"; + textEditAddress.Size = new Size(710, 24); + textEditAddress.StyleController = layoutControl1; + textEditAddress.TabIndex = 3; + // + // memoEdit1 + // + memoEdit1.Location = new Point(92, 129); + memoEdit1.Margin = new Padding(3, 4, 3, 4); + memoEdit1.Name = "memoEdit1"; + memoEdit1.Size = new Size(704, 358); + memoEdit1.StyleController = layoutControl1; + memoEdit1.TabIndex = 5; + // + // txtEditRegion + // + txtEditRegion.Location = new Point(89, 40); + txtEditRegion.Margin = new Padding(3, 4, 3, 4); + txtEditRegion.Name = "txtEditRegion"; + txtEditRegion.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + txtEditRegion.Properties.DisplayMember = "Name"; + txtEditRegion.Properties.NullText = ""; + txtEditRegion.Properties.TreeList = treeListLookUpEdit1TreeList; + txtEditRegion.Properties.ValueMember = "ID"; + txtEditRegion.Size = new Size(710, 24); + txtEditRegion.StyleController = layoutControl1; + txtEditRegion.TabIndex = 2; + // + // treeListLookUpEdit1TreeList + // + treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1, treeListColumn2 }); + treeListLookUpEdit1TreeList.Location = new Point(0, 0); + treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; + treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; + treeListLookUpEdit1TreeList.Size = new Size(400, 200); + treeListLookUpEdit1TreeList.TabIndex = 0; + // + // treeListColumn1 + // + treeListColumn1.Caption = "鍚嶇О"; + treeListColumn1.FieldName = "Name"; + treeListColumn1.Name = "treeListColumn1"; + treeListColumn1.Visible = true; + treeListColumn1.VisibleIndex = 0; // // layoutControlItem1 // - layoutControlItem1.Control = textEdit1; - layoutControlItem1.Location = new Point(0, 24); + layoutControlItem1.Control = txtEditRegion; + layoutControlItem1.Location = new Point(0, 28); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(587, 24); - layoutControlItem1.Text = "鐪侊細"; - layoutControlItem1.TextSize = new Size(35, 14); + layoutControlItem1.Size = new Size(791, 28); + layoutControlItem1.Text = "鍦板尯:"; + layoutControlItem1.TextSize = new Size(65, 18); + // + // tabbedControlGroup1 + // + tabbedControlGroup1.Location = new Point(0, 84); + tabbedControlGroup1.Name = "tabbedControlGroup1"; + tabbedControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + tabbedControlGroup1.SelectedTabPage = layoutControlGroup1; + tabbedControlGroup1.Size = new Size(791, 398); + tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, layoutControlGroup2, layoutControlGroup3 }); + // + // layoutControlGroup1 + // + layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 }); + layoutControlGroup1.Location = new Point(0, 0); + layoutControlGroup1.Name = "layoutControlGroup1"; + layoutControlGroup1.Size = new Size(785, 362); + layoutControlGroup1.Text = "灞炴��"; // // layoutControlItem2 // layoutControlItem2.Control = panelControl1; - layoutControlItem2.Location = new Point(0, 48); + layoutControlItem2.Location = new Point(0, 0); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(587, 271); + layoutControlItem2.Size = new Size(785, 362); layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; // - // textEdit1 + // layoutControlGroup2 // - textEdit1.Location = new Point(59, 36); - textEdit1.Name = "textEdit1"; - textEdit1.Size = new Size(536, 20); - textEdit1.StyleController = layoutControl1; - textEdit1.TabIndex = 3; + layoutControlGroup2.Location = new Point(0, 0); + layoutControlGroup2.Name = "layoutControlGroup2"; + layoutControlGroup2.Size = new Size(785, 362); + layoutControlGroup2.Text = "鍦板浘"; + // + // layoutControlGroup3 + // + layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4 }); + layoutControlGroup3.Location = new Point(0, 0); + layoutControlGroup3.Name = "layoutControlGroup3"; + layoutControlGroup3.Size = new Size(785, 362); + layoutControlGroup3.Text = "璇存槑"; + // + // layoutControlItem4 + // + layoutControlItem4.Control = memoEdit1; + layoutControlItem4.Location = new Point(0, 0); + layoutControlItem4.Name = "layoutControlItem4"; + layoutControlItem4.Size = new Size(785, 362); + layoutControlItem4.Text = "璇存槑"; + layoutControlItem4.TextSize = new Size(65, 18); + // + // layoutControlItem3 + // + layoutControlItem3.Control = textEditAddress; + layoutControlItem3.Location = new Point(0, 56); + layoutControlItem3.Name = "layoutControlItem3"; + layoutControlItem3.Size = new Size(791, 28); + layoutControlItem3.Text = "璇︾粏鍦板潃:"; + layoutControlItem3.TextSize = new Size(65, 18); + // + // dxErrorProvider1 + // + dxErrorProvider1.ContainerControl = this; + // + // treeListColumn2 + // + treeListColumn2.Caption = "绫诲瀷"; + treeListColumn2.FieldName = "Type"; + treeListColumn2.Name = "treeListColumn2"; + treeListColumn2.Visible = true; + treeListColumn2.VisibleIndex = 1; // // AddPlaceDlg // - AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleDimensions = new SizeF(8F, 18F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(607, 382); + ClientSize = new Size(811, 539); Controls.Add(layoutControl1); + Margin = new Padding(3, 4, 3, 4); Name = "AddPlaceDlg"; StartPosition = FormStartPosition.CenterScreen; Text = "鏂板"; ((System.ComponentModel.ISupportInitialize)Root).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit(); - ((System.ComponentModel.ISupportInitialize)txtEditPhoneNumber.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)txtEditName.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)panelControl1).EndInit(); + ((System.ComponentModel.ISupportInitialize)textEditAddress.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)memoEdit1.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)txtEditRegion.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)tabbedControlGroup1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); - ((System.ComponentModel.ISupportInitialize)textEdit1.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup2).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlGroup3).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); + ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); ResumeLayout(false); } @@ -176,10 +319,22 @@ private Yw.WinFrmUI.GeneralOkAndCancelCtrl generalOkAndCancelCtrl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; private DevExpress.XtraLayout.LayoutControl layoutControl1; - private DevExpress.XtraEditors.TextEdit txtEditPhoneNumber; + private DevExpress.XtraEditors.TextEdit txtEditName; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraEditors.PanelControl panelControl1; + private DevExpress.XtraEditors.TextEdit textEditAddress; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraEditors.MemoEdit memoEdit1; + private DevExpress.XtraLayout.TabbedControlGroup tabbedControlGroup1; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; - private DevExpress.XtraEditors.TextEdit textEdit1; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraEditors.TreeListLookUpEdit txtEditRegion; + private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; + private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; + private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; + private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn2; } } \ No newline at end of file -- Gitblit v1.9.3