From 0618fadff0d2e95716db801ef0c7a96ff9e1f20e Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期六, 22 六月 2024 21:52:00 +0800 Subject: [PATCH] 优化项目管理界面增删改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/AddProjectDlg.designer.cs | 447 +++++++++++++++++++++++-------------------------------- 1 files changed, 188 insertions(+), 259 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/AddProjectDlg.designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/AddProjectDlg.designer.cs index 0525a1f..68f0784 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/AddProjectDlg.designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Project/01-project/AddProjectDlg.designer.cs @@ -35,170 +35,187 @@ private void InitializeComponent() { components = new Container(); + ComponentResourceManager resources = new ComponentResourceManager(typeof(AddProjectDlg)); dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); + navigationFrame = new DevExpress.XtraBars.Navigation.NavigationFrame(); + navigationPageMapSelect = new DevExpress.XtraBars.Navigation.NavigationPage(); webView21 = new Microsoft.Web.WebView2.WinForms.WebView2(); - btnOk = new SimpleButton(); + navigationPageForm = new DevExpress.XtraBars.Navigation.NavigationPage(); + projectUserControl1 = new HStation.WinFrmUI.Xhs.Project.ProjectUserControl(); + stepProgressBar1 = new StepProgressBar(); + stepProgressBarItemPostion = new StepProgressBarItem(); + stepProgressBarItem = new StepProgressBarItem(); + btnNextStep = new SimpleButton(); btnCancel = new SimpleButton(); - NameTextEdit = new TextEdit(); - DescriptionTextEdit = new MemoEdit(); - ModleTextEdit = new TextEdit(); - CustomerNameTextEdit = new TextEdit(); - BtnFileChoice = new ButtonEdit(); - TagName = new TextEdit(); + BtnBack = new SimpleButton(); + textEditAddress = new TextEdit(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); - ItemForName = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); - tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup(); - layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); - ItemForDescription = new DevExpress.XtraLayout.LayoutControlItem(); - ItemForConstructionYear = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); - ItemForTagName = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItemBack = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItemAddress = new DevExpress.XtraLayout.LayoutControlItem(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); - AddressTextEdit = new TextEdit(); - layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); ((ISupportInitialize)dataLayoutControl1).BeginInit(); dataLayoutControl1.SuspendLayout(); + ((ISupportInitialize)navigationFrame).BeginInit(); + navigationFrame.SuspendLayout(); + navigationPageMapSelect.SuspendLayout(); ((ISupportInitialize)webView21).BeginInit(); - ((ISupportInitialize)NameTextEdit.Properties).BeginInit(); - ((ISupportInitialize)DescriptionTextEdit.Properties).BeginInit(); - ((ISupportInitialize)ModleTextEdit.Properties).BeginInit(); - ((ISupportInitialize)CustomerNameTextEdit.Properties).BeginInit(); - ((ISupportInitialize)BtnFileChoice.Properties).BeginInit(); - ((ISupportInitialize)TagName.Properties).BeginInit(); + navigationPageForm.SuspendLayout(); + ((ISupportInitialize)stepProgressBar1).BeginInit(); + ((ISupportInitialize)textEditAddress.Properties).BeginInit(); ((ISupportInitialize)Root).BeginInit(); ((ISupportInitialize)layoutControlGroup1).BeginInit(); - ((ISupportInitialize)ItemForName).BeginInit(); ((ISupportInitialize)layoutControlItem1).BeginInit(); ((ISupportInitialize)layoutControlItem2).BeginInit(); ((ISupportInitialize)emptySpaceItem1).BeginInit(); - ((ISupportInitialize)tabbedControlGroup1).BeginInit(); - ((ISupportInitialize)layoutControlGroup2).BeginInit(); ((ISupportInitialize)layoutControlItem3).BeginInit(); - ((ISupportInitialize)layoutControlGroup3).BeginInit(); - ((ISupportInitialize)ItemForDescription).BeginInit(); - ((ISupportInitialize)ItemForConstructionYear).BeginInit(); - ((ISupportInitialize)layoutControlItem5).BeginInit(); - ((ISupportInitialize)ItemForTagName).BeginInit(); ((ISupportInitialize)layoutControlItem4).BeginInit(); + ((ISupportInitialize)layoutControlItemBack).BeginInit(); + ((ISupportInitialize)layoutControlItemAddress).BeginInit(); ((ISupportInitialize)dxErrorProvider1).BeginInit(); - ((ISupportInitialize)AddressTextEdit.Properties).BeginInit(); - ((ISupportInitialize)layoutControlItem6).BeginInit(); SuspendLayout(); // // dataLayoutControl1 // - dataLayoutControl1.Controls.Add(webView21); - dataLayoutControl1.Controls.Add(btnOk); + dataLayoutControl1.Controls.Add(navigationFrame); + dataLayoutControl1.Controls.Add(stepProgressBar1); + dataLayoutControl1.Controls.Add(btnNextStep); dataLayoutControl1.Controls.Add(btnCancel); - dataLayoutControl1.Controls.Add(NameTextEdit); - dataLayoutControl1.Controls.Add(DescriptionTextEdit); - dataLayoutControl1.Controls.Add(ModleTextEdit); - dataLayoutControl1.Controls.Add(CustomerNameTextEdit); - dataLayoutControl1.Controls.Add(BtnFileChoice); - dataLayoutControl1.Controls.Add(TagName); - dataLayoutControl1.Controls.Add(AddressTextEdit); + dataLayoutControl1.Controls.Add(BtnBack); + dataLayoutControl1.Controls.Add(textEditAddress); dataLayoutControl1.Dock = DockStyle.Fill; dataLayoutControl1.Location = new Point(0, 0); dataLayoutControl1.Name = "dataLayoutControl1"; dataLayoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(640, 239, 978, 700); dataLayoutControl1.Root = Root; - dataLayoutControl1.Size = new Size(709, 440); + dataLayoutControl1.Size = new Size(742, 400); dataLayoutControl1.TabIndex = 0; dataLayoutControl1.Text = "dataLayoutControl1"; + // + // navigationFrame + // + navigationFrame.AllowTransitionAnimation = DefaultBoolean.False; + navigationFrame.Controls.Add(navigationPageMapSelect); + navigationFrame.Controls.Add(navigationPageForm); + navigationFrame.Location = new Point(12, 66); + navigationFrame.Name = "navigationFrame"; + navigationFrame.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { navigationPageMapSelect, navigationPageForm }); + navigationFrame.SelectedPage = navigationPageMapSelect; + navigationFrame.Size = new Size(718, 272); + navigationFrame.TabIndex = 2; + navigationFrame.Text = "navigationFrame1"; + // + // navigationPageMapSelect + // + navigationPageMapSelect.Caption = "navigationPageMapSelect"; + navigationPageMapSelect.Controls.Add(webView21); + navigationPageMapSelect.Name = "navigationPageMapSelect"; + navigationPageMapSelect.Size = new Size(718, 272); // // webView21 // webView21.AllowExternalDrop = true; webView21.CreationProperties = null; webView21.DefaultBackgroundColor = Color.White; - webView21.Location = new Point(24, 144); + webView21.Dock = DockStyle.Fill; + webView21.Location = new Point(0, 0); webView21.Name = "webView21"; - webView21.Size = new Size(661, 249); - webView21.TabIndex = 15; + webView21.Size = new Size(718, 272); + webView21.TabIndex = 0; webView21.ZoomFactor = 1D; webView21.WebMessageReceived += webView21_WebMessageReceived; // - // btnOk + // navigationPageForm // - btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; - btnOk.Appearance.Options.UseBackColor = true; - btnOk.Location = new Point(503, 409); - btnOk.Name = "btnOk"; - btnOk.Size = new Size(95, 19); - btnOk.StyleController = dataLayoutControl1; - btnOk.TabIndex = 7; - btnOk.Text = "纭畾"; - btnOk.Click += btnOk_Click; + navigationPageForm.Caption = "navigationPageForm"; + navigationPageForm.Controls.Add(projectUserControl1); + navigationPageForm.Name = "navigationPageForm"; + navigationPageForm.Size = new Size(718, 272); + // + // projectUserControl1 + // + projectUserControl1.Dock = DockStyle.Fill; + projectUserControl1.Location = new Point(0, 0); + projectUserControl1.Name = "projectUserControl1"; + projectUserControl1.Size = new Size(718, 272); + projectUserControl1.TabIndex = 0; + // + // stepProgressBar1 + // + stepProgressBar1.ContentAlignment = ContentAlignment.MiddleLeft; + stepProgressBar1.ItemOptions.Indicator.ActiveStateImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("stepProgressBar1.ItemOptions.Indicator.ActiveStateImageOptions.SvgImage"); + stepProgressBar1.ItemOptions.Indicator.ActiveStateImageOptions.SvgImageSize = new Size(20, 20); + stepProgressBar1.ItemOptions.Indicator.Width = 23; + stepProgressBar1.Items.Add(stepProgressBarItemPostion); + stepProgressBar1.Items.Add(stepProgressBarItem); + stepProgressBar1.Location = new Point(12, 12); + stepProgressBar1.MaximumSize = new Size(0, 50); + stepProgressBar1.MinimumSize = new Size(0, 50); + stepProgressBar1.Name = "stepProgressBar1"; + stepProgressBar1.SelectedItemIndex = 0; + stepProgressBar1.Size = new Size(718, 50); + stepProgressBar1.StyleController = dataLayoutControl1; + stepProgressBar1.TabIndex = 0; + // + // stepProgressBarItemPostion + // + stepProgressBarItemPostion.ContentBlock2.Caption = "閫夋嫨浣嶇疆"; + stepProgressBarItemPostion.Name = "stepProgressBarItemPostion"; + stepProgressBarItemPostion.State = StepProgressBarItemState.Active; + // + // stepProgressBarItem + // + stepProgressBarItem.ContentBlock2.Caption = "椤圭洰淇℃伅"; + stepProgressBarItem.Name = "stepProgressBarItem"; + // + // btnNextStep + // + btnNextStep.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; + btnNextStep.Appearance.Options.UseBackColor = true; + btnNextStep.Location = new Point(536, 366); + btnNextStep.Name = "btnNextStep"; + btnNextStep.Size = new Size(95, 22); + btnNextStep.StyleController = dataLayoutControl1; + btnNextStep.TabIndex = 5; + btnNextStep.Text = "涓嬩竴姝�>"; + btnNextStep.Click += btnNextStep_Click; // // btnCancel // - btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; + btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; btnCancel.Appearance.Options.UseBackColor = true; btnCancel.DialogResult = DialogResult.Cancel; - btnCancel.Location = new Point(602, 409); + btnCancel.Location = new Point(635, 366); btnCancel.Name = "btnCancel"; - btnCancel.Size = new Size(95, 19); + btnCancel.Size = new Size(95, 22); btnCancel.StyleController = dataLayoutControl1; - btnCancel.TabIndex = 8; + btnCancel.TabIndex = 6; btnCancel.Text = "鍙栨秷"; // - // NameTextEdit + // BtnBack // - NameTextEdit.Location = new Point(76, 12); - NameTextEdit.Name = "NameTextEdit"; - NameTextEdit.Size = new Size(276, 20); - NameTextEdit.StyleController = dataLayoutControl1; - NameTextEdit.TabIndex = 0; + BtnBack.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; + BtnBack.Appearance.Options.UseBackColor = true; + BtnBack.Location = new Point(447, 366); + BtnBack.Name = "BtnBack"; + BtnBack.Size = new Size(85, 22); + BtnBack.StyleController = dataLayoutControl1; + BtnBack.TabIndex = 4; + BtnBack.Text = "<涓婁竴姝�"; + BtnBack.Click += BtnBack_Click; // - // DescriptionTextEdit + // textEditAddress // - DescriptionTextEdit.Location = new Point(22, 142); - DescriptionTextEdit.Name = "DescriptionTextEdit"; - DescriptionTextEdit.Size = new Size(665, 253); - DescriptionTextEdit.StyleController = dataLayoutControl1; - DescriptionTextEdit.TabIndex = 6; - // - // ModleTextEdit - // - ModleTextEdit.Location = new Point(76, 60); - ModleTextEdit.Name = "ModleTextEdit"; - ModleTextEdit.Size = new Size(621, 20); - ModleTextEdit.StyleController = dataLayoutControl1; - ModleTextEdit.TabIndex = 4; - // - // CustomerNameTextEdit - // - CustomerNameTextEdit.Location = new Point(420, 12); - CustomerNameTextEdit.Margin = new Padding(2); - CustomerNameTextEdit.Name = "CustomerNameTextEdit"; - CustomerNameTextEdit.Size = new Size(277, 20); - CustomerNameTextEdit.StyleController = dataLayoutControl1; - CustomerNameTextEdit.TabIndex = 14; - // - // BtnFileChoice - // - BtnFileChoice.Location = new Point(76, 36); - BtnFileChoice.Margin = new Padding(2); - BtnFileChoice.Name = "BtnFileChoice"; - BtnFileChoice.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); - BtnFileChoice.Size = new Size(276, 20); - BtnFileChoice.StyleController = dataLayoutControl1; - BtnFileChoice.TabIndex = 11; - // - // TagName - // - TagName.Location = new Point(420, 36); - TagName.Name = "TagName"; - TagName.Size = new Size(277, 20); - TagName.StyleController = dataLayoutControl1; - TagName.TabIndex = 16; + textEditAddress.Location = new Point(76, 342); + textEditAddress.Name = "textEditAddress"; + textEditAddress.Size = new Size(654, 20); + textEditAddress.StyleController = dataLayoutControl1; + textEditAddress.TabIndex = 3; // // Root // @@ -208,48 +225,38 @@ Root.GroupBordersVisible = false; Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 }); Root.Name = "Root"; - Root.Size = new Size(709, 440); + Root.Size = new Size(742, 400); Root.TextVisible = false; // // layoutControlGroup1 // layoutControlGroup1.AllowDrawBackground = false; layoutControlGroup1.GroupBordersVisible = false; - layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, layoutControlItem1, layoutControlItem2, emptySpaceItem1, tabbedControlGroup1, ItemForConstructionYear, layoutControlItem5, ItemForTagName, layoutControlItem4, layoutControlItem6 }); + layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, emptySpaceItem1, layoutControlItem3, layoutControlItem4, layoutControlItemBack, layoutControlItemAddress }); layoutControlGroup1.Location = new Point(0, 0); layoutControlGroup1.Name = "autoGeneratedGroup0"; - layoutControlGroup1.Size = new Size(689, 420); - // - // ItemForName - // - ItemForName.AllowHtmlStringInCaption = true; - ItemForName.Control = NameTextEdit; - ItemForName.Location = new Point(0, 0); - ItemForName.Name = "ItemForName"; - ItemForName.Size = new Size(344, 24); - ItemForName.Text = "<color=red>*</color>鍚嶇О:"; - ItemForName.TextSize = new Size(52, 14); + layoutControlGroup1.Size = new Size(722, 380); // // layoutControlItem1 // layoutControlItem1.Control = btnCancel; - layoutControlItem1.Location = new Point(590, 397); - layoutControlItem1.MaxSize = new Size(99, 23); - layoutControlItem1.MinSize = new Size(99, 23); + layoutControlItem1.Location = new Point(623, 354); + layoutControlItem1.MaxSize = new Size(99, 26); + layoutControlItem1.MinSize = new Size(99, 26); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(99, 23); + layoutControlItem1.Size = new Size(99, 26); layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // // layoutControlItem2 // - layoutControlItem2.Control = btnOk; - layoutControlItem2.Location = new Point(491, 397); - layoutControlItem2.MaxSize = new Size(99, 23); - layoutControlItem2.MinSize = new Size(99, 23); + layoutControlItem2.Control = btnNextStep; + layoutControlItem2.Location = new Point(524, 354); + layoutControlItem2.MaxSize = new Size(99, 26); + layoutControlItem2.MinSize = new Size(99, 26); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(99, 23); + layoutControlItem2.Size = new Size(99, 26); layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; @@ -257,124 +264,59 @@ // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(0, 397); + emptySpaceItem1.Location = new Point(0, 354); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(491, 23); + emptySpaceItem1.Size = new Size(435, 26); emptySpaceItem1.TextSize = new Size(0, 0); - // - // tabbedControlGroup1 - // - tabbedControlGroup1.AppearanceTabPage.Header.Options.UseTextOptions = true; - tabbedControlGroup1.AppearanceTabPage.Header.TextOptions.HAlignment = HorzAlignment.Center; - tabbedControlGroup1.HeaderAutoFill = DefaultBoolean.True; - tabbedControlGroup1.Location = new Point(0, 96); - tabbedControlGroup1.Name = "tabbedControlGroup1"; - tabbedControlGroup1.SelectedTabPage = layoutControlGroup2; - tabbedControlGroup1.Size = new Size(689, 301); - tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup2, layoutControlGroup3 }); - // - // layoutControlGroup2 - // - layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3 }); - layoutControlGroup2.Location = new Point(0, 0); - layoutControlGroup2.Name = "layoutControlGroup2"; - layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - layoutControlGroup2.Size = new Size(665, 253); - layoutControlGroup2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - layoutControlGroup2.Text = "鍦板浘鍧愭爣"; // // layoutControlItem3 // - layoutControlItem3.Control = webView21; + layoutControlItem3.Control = stepProgressBar1; layoutControlItem3.Location = new Point(0, 0); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(665, 253); + layoutControlItem3.Size = new Size(722, 54); layoutControlItem3.TextSize = new Size(0, 0); layoutControlItem3.TextVisible = false; // - // layoutControlGroup3 - // - layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForDescription }); - layoutControlGroup3.Location = new Point(0, 0); - layoutControlGroup3.Name = "layoutControlGroup3"; - layoutControlGroup3.Size = new Size(665, 253); - layoutControlGroup3.Text = "璇存槑"; - // - // ItemForDescription - // - ItemForDescription.Control = DescriptionTextEdit; - ItemForDescription.Location = new Point(0, 0); - ItemForDescription.Name = "ItemForDescription"; - ItemForDescription.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - ItemForDescription.Size = new Size(665, 253); - ItemForDescription.Text = "璇存槑:"; - ItemForDescription.TextSize = new Size(0, 0); - ItemForDescription.TextVisible = false; - // - // ItemForConstructionYear - // - ItemForConstructionYear.Control = BtnFileChoice; - ItemForConstructionYear.Location = new Point(0, 24); - ItemForConstructionYear.Name = "ItemForConstructionYear"; - ItemForConstructionYear.Size = new Size(344, 24); - ItemForConstructionYear.Text = "閫夋嫨鏂囦欢:"; - ItemForConstructionYear.TextSize = new Size(52, 14); - // - // layoutControlItem5 - // - layoutControlItem5.Control = CustomerNameTextEdit; - layoutControlItem5.Location = new Point(344, 0); - layoutControlItem5.Name = "layoutControlItem5"; - layoutControlItem5.Size = new Size(345, 24); - layoutControlItem5.Text = "瀹㈡埛鍚嶇О:"; - layoutControlItem5.TextSize = new Size(52, 14); - // - // ItemForTagName - // - ItemForTagName.AppearanceItemCaption.Options.UseTextOptions = true; - ItemForTagName.AppearanceItemCaption.TextOptions.HAlignment = HorzAlignment.Far; - ItemForTagName.Control = ModleTextEdit; - ItemForTagName.Location = new Point(0, 48); - ItemForTagName.Name = "ItemForTagName"; - ItemForTagName.Size = new Size(689, 24); - ItemForTagName.Text = "涓夌淮妯″瀷:"; - ItemForTagName.TextSize = new Size(52, 14); - // // layoutControlItem4 // - layoutControlItem4.Control = TagName; - layoutControlItem4.Location = new Point(344, 24); + layoutControlItem4.Control = navigationFrame; + layoutControlItem4.Location = new Point(0, 54); layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(345, 24); - layoutControlItem4.Text = "鏍囩:"; - layoutControlItem4.TextSize = new Size(52, 14); + layoutControlItem4.Size = new Size(722, 276); + layoutControlItem4.TextSize = new Size(0, 0); + layoutControlItem4.TextVisible = false; + // + // layoutControlItemBack + // + layoutControlItemBack.Control = BtnBack; + layoutControlItemBack.Location = new Point(435, 354); + layoutControlItemBack.MaxSize = new Size(89, 26); + layoutControlItemBack.MinSize = new Size(89, 26); + layoutControlItemBack.Name = "layoutControlItemBack"; + layoutControlItemBack.Size = new Size(89, 26); + layoutControlItemBack.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + layoutControlItemBack.TextSize = new Size(0, 0); + layoutControlItemBack.TextVisible = false; + // + // layoutControlItemAddress + // + layoutControlItemAddress.Control = textEditAddress; + layoutControlItemAddress.Location = new Point(0, 330); + layoutControlItemAddress.Name = "layoutControlItemAddress"; + layoutControlItemAddress.Size = new Size(722, 24); + layoutControlItemAddress.Text = "璇︾粏鍦板潃:"; + layoutControlItemAddress.TextSize = new Size(52, 14); // // dxErrorProvider1 // dxErrorProvider1.ContainerControl = this; // - // AddressTextEdit - // - AddressTextEdit.Location = new Point(76, 84); - AddressTextEdit.Name = "AddressTextEdit"; - AddressTextEdit.Size = new Size(621, 20); - AddressTextEdit.StyleController = dataLayoutControl1; - AddressTextEdit.TabIndex = 17; - // - // layoutControlItem6 - // - layoutControlItem6.Control = AddressTextEdit; - layoutControlItem6.Location = new Point(0, 72); - layoutControlItem6.Name = "layoutControlItem6"; - layoutControlItem6.Size = new Size(689, 24); - layoutControlItem6.Text = "璇︾粏鍦板潃:"; - layoutControlItem6.TextSize = new Size(52, 14); - // // AddProjectDlg // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(709, 440); + ClientSize = new Size(742, 400); Controls.Add(dataLayoutControl1); Name = "AddProjectDlg"; StartPosition = FormStartPosition.CenterParent; @@ -382,63 +324,50 @@ Load += AddProjectDlg_Load; ((ISupportInitialize)dataLayoutControl1).EndInit(); dataLayoutControl1.ResumeLayout(false); + ((ISupportInitialize)navigationFrame).EndInit(); + navigationFrame.ResumeLayout(false); + navigationPageMapSelect.ResumeLayout(false); ((ISupportInitialize)webView21).EndInit(); - ((ISupportInitialize)NameTextEdit.Properties).EndInit(); - ((ISupportInitialize)DescriptionTextEdit.Properties).EndInit(); - ((ISupportInitialize)ModleTextEdit.Properties).EndInit(); - ((ISupportInitialize)CustomerNameTextEdit.Properties).EndInit(); - ((ISupportInitialize)BtnFileChoice.Properties).EndInit(); - ((ISupportInitialize)TagName.Properties).EndInit(); + navigationPageForm.ResumeLayout(false); + ((ISupportInitialize)stepProgressBar1).EndInit(); + ((ISupportInitialize)textEditAddress.Properties).EndInit(); ((ISupportInitialize)Root).EndInit(); ((ISupportInitialize)layoutControlGroup1).EndInit(); - ((ISupportInitialize)ItemForName).EndInit(); ((ISupportInitialize)layoutControlItem1).EndInit(); ((ISupportInitialize)layoutControlItem2).EndInit(); ((ISupportInitialize)emptySpaceItem1).EndInit(); - ((ISupportInitialize)tabbedControlGroup1).EndInit(); - ((ISupportInitialize)layoutControlGroup2).EndInit(); ((ISupportInitialize)layoutControlItem3).EndInit(); - ((ISupportInitialize)layoutControlGroup3).EndInit(); - ((ISupportInitialize)ItemForDescription).EndInit(); - ((ISupportInitialize)ItemForConstructionYear).EndInit(); - ((ISupportInitialize)layoutControlItem5).EndInit(); - ((ISupportInitialize)ItemForTagName).EndInit(); ((ISupportInitialize)layoutControlItem4).EndInit(); + ((ISupportInitialize)layoutControlItemBack).EndInit(); + ((ISupportInitialize)layoutControlItemAddress).EndInit(); ((ISupportInitialize)dxErrorProvider1).EndInit(); - ((ISupportInitialize)AddressTextEdit.Properties).EndInit(); - ((ISupportInitialize)layoutControlItem6).EndInit(); ResumeLayout(false); } #endregion private DevExpress.XtraDataLayout.DataLayoutControl dataLayoutControl1; - private SimpleButton btnOk; + private SimpleButton btnNextStep; private SimpleButton btnCancel; - private TextEdit NameTextEdit; - private MemoEdit DescriptionTextEdit; private DevExpress.XtraLayout.LayoutControlGroup Root; private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; - private DevExpress.XtraLayout.LayoutControlItem ItemForName; - private DevExpress.XtraLayout.LayoutControlItem ItemForDescription; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; - private TextEdit ModleTextEdit; - private DevExpress.XtraLayout.LayoutControlItem ItemForTagName; - private DevExpress.XtraLayout.LayoutControlItem ItemForConstructionYear; - private TextEdit CustomerNameTextEdit; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; - private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; - private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; - private DevExpress.XtraLayout.TabbedControlGroup tabbedControlGroup1; - private Microsoft.Web.WebView2.WinForms.WebView2 webView21; + private StepProgressBar stepProgressBar1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; - private ButtonEdit BtnFileChoice; - private TextEdit TagName; + private DevExpress.XtraBars.Navigation.NavigationFrame navigationFrame; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; - private TextEdit AddressTextEdit; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; + private StepProgressBarItem stepProgressBarItemPostion; + private StepProgressBarItem stepProgressBarItem; + private SimpleButton BtnBack; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItemBack; + private DevExpress.XtraBars.Navigation.NavigationPage navigationPageMapSelect; + private Microsoft.Web.WebView2.WinForms.WebView2 webView21; + private DevExpress.XtraBars.Navigation.NavigationPage navigationPageForm; + private HStation.WinFrmUI.Xhs.Project.ProjectUserControl projectUserControl1; + private TextEdit textEditAddress; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItemAddress; } } \ No newline at end of file -- Gitblit v1.9.3