From 154d4c352b9ab06a925451f1fdcea6afd1701e10 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 15 四月 2024 18:02:16 +0800 Subject: [PATCH] 迁移基础界面 --- WinFrm/ISupply.WinFrm.Main/basic/_UserControls/RegionTreeListCtrl.designer.cs | 413 +++++++++++++++++++++++++++-------------------------------- 1 files changed, 189 insertions(+), 224 deletions(-) diff --git a/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/RegionTreeListCtrl.designer.cs b/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/RegionTreeListCtrl.designer.cs index 25aacf5..5881f5d 100644 --- a/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/RegionTreeListCtrl.designer.cs +++ b/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/RegionTreeListCtrl.designer.cs @@ -28,300 +28,265 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegionTreeListCtrl)); - this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); - this.bar1 = new DevExpress.XtraBars.Bar(); - this.barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnAddChildren = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnUpdateSortCode = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnDetail = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem(); - this.barBtnCollapseAll = new DevExpress.XtraBars.BarButtonItem(); - this.barCkSearch = new DevExpress.XtraBars.BarCheckItem(); - this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); - this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); - this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); - this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); - this.barRoot = new DevExpress.XtraBars.BarSubItem(); - this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - this.treeList1 = new DevExpress.XtraTreeList.TreeList(); - this.colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); - ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); - this.layoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - this.SuspendLayout(); + barManager1 = new DevExpress.XtraBars.BarManager(components); + bar1 = new DevExpress.XtraBars.Bar(); + barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); + barBtnAddChildren = new DevExpress.XtraBars.BarButtonItem(); + barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); + barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); + barBtnUpdateSortCode = new DevExpress.XtraBars.BarButtonItem(); + barBtnDetail = new DevExpress.XtraBars.BarButtonItem(); + barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem(); + barBtnCollapseAll = new DevExpress.XtraBars.BarButtonItem(); + barCkSearch = new DevExpress.XtraBars.BarCheckItem(); + barDockControlTop = new DevExpress.XtraBars.BarDockControl(); + barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); + barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); + barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + barRoot = new DevExpress.XtraBars.BarSubItem(); + layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + treeList1 = new DevExpress.XtraTreeList.TreeList(); + colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + Root = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); + ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); + layoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); + SuspendLayout(); // // barManager1 // - this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { - this.bar1}); - this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] { - new DevExpress.XtraBars.BarManagerCategory("Menu", new System.Guid("66025f6c-663a-4ef4-927a-145971e982ee")), - new DevExpress.XtraBars.BarManagerCategory("Node", new System.Guid("b558f1d8-eb1b-4761-8cec-661b93c5cda9"))}); - this.barManager1.DockControls.Add(this.barDockControlTop); - this.barManager1.DockControls.Add(this.barDockControlBottom); - this.barManager1.DockControls.Add(this.barDockControlLeft); - this.barManager1.DockControls.Add(this.barDockControlRight); - this.barManager1.Form = this; - this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { - this.barBtnExpandAll, - this.barBtnCollapseAll, - this.barBtnDetail, - this.barCkSearch, - this.barBtnAdd, - this.barBtnAddChildren, - this.barBtnEdit, - this.barBtnDelete, - this.barBtnUpdateSortCode}); - this.barManager1.MaxItemId = 45; + barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar1 }); + barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] { new DevExpress.XtraBars.BarManagerCategory("Menu", new Guid("66025f6c-663a-4ef4-927a-145971e982ee")), new DevExpress.XtraBars.BarManagerCategory("Node", new Guid("b558f1d8-eb1b-4761-8cec-661b93c5cda9")) }); + barManager1.DockControls.Add(barDockControlTop); + barManager1.DockControls.Add(barDockControlBottom); + barManager1.DockControls.Add(barDockControlLeft); + barManager1.DockControls.Add(barDockControlRight); + barManager1.Form = this; + barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnExpandAll, barBtnCollapseAll, barBtnDetail, barCkSearch, barBtnAdd, barBtnAddChildren, barBtnEdit, barBtnDelete, barBtnUpdateSortCode }); + barManager1.MaxItemId = 45; // // bar1 // - this.bar1.BarName = "Custom 2"; - this.bar1.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; - this.bar1.DockCol = 0; - this.bar1.DockRow = 0; - this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; - this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnAdd), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnAddChildren), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnEdit), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnDelete), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnUpdateSortCode), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnDetail), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnExpandAll, true), - new DevExpress.XtraBars.LinkPersistInfo(this.barBtnCollapseAll), - new DevExpress.XtraBars.LinkPersistInfo(this.barCkSearch)}); - this.bar1.OptionsBar.AllowQuickCustomization = false; - this.bar1.OptionsBar.DrawBorder = false; - this.bar1.OptionsBar.DrawDragBorder = false; - this.bar1.OptionsBar.MultiLine = true; - this.bar1.OptionsBar.UseWholeRow = true; - this.bar1.Text = "Custom 2"; + bar1.BarName = "Custom 2"; + bar1.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; + bar1.DockCol = 0; + bar1.DockRow = 0; + bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; + bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnAdd), new DevExpress.XtraBars.LinkPersistInfo(barBtnAddChildren), new DevExpress.XtraBars.LinkPersistInfo(barBtnEdit), new DevExpress.XtraBars.LinkPersistInfo(barBtnDelete), new DevExpress.XtraBars.LinkPersistInfo(barBtnUpdateSortCode), new DevExpress.XtraBars.LinkPersistInfo(barBtnDetail), new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll, true), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollapseAll), new DevExpress.XtraBars.LinkPersistInfo(barCkSearch) }); + bar1.OptionsBar.AllowQuickCustomization = false; + bar1.OptionsBar.DrawBorder = false; + bar1.OptionsBar.DrawDragBorder = false; + bar1.OptionsBar.MultiLine = true; + bar1.OptionsBar.UseWholeRow = true; + bar1.Text = "Custom 2"; // // barBtnAdd // - this.barBtnAdd.Caption = "娣诲姞"; - this.barBtnAdd.Id = 40; - this.barBtnAdd.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnAdd.ImageOptions.SvgImage"))); - this.barBtnAdd.Name = "barBtnAdd"; - this.barBtnAdd.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; - this.barBtnAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnAdd_ItemClick); + barBtnAdd.Caption = "娣诲姞"; + barBtnAdd.Id = 40; + barBtnAdd.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnAdd.ImageOptions.SvgImage"); + barBtnAdd.Name = "barBtnAdd"; + barBtnAdd.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; + barBtnAdd.ItemClick += barBtnAdd_ItemClick; // // barBtnAddChildren // - this.barBtnAddChildren.Caption = "娣诲姞瀛愰」"; - this.barBtnAddChildren.Id = 41; - this.barBtnAddChildren.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnAddChildren.ImageOptions.SvgImage"))); - this.barBtnAddChildren.Name = "barBtnAddChildren"; - this.barBtnAddChildren.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; - this.barBtnAddChildren.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnAddChildren_ItemClick); + barBtnAddChildren.Caption = "娣诲姞瀛愰」"; + barBtnAddChildren.Id = 41; + barBtnAddChildren.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnAddChildren.ImageOptions.SvgImage"); + barBtnAddChildren.Name = "barBtnAddChildren"; + barBtnAddChildren.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; + barBtnAddChildren.ItemClick += barBtnAddChildren_ItemClick; // // barBtnEdit // - this.barBtnEdit.Caption = "缂栬緫"; - this.barBtnEdit.Id = 42; - this.barBtnEdit.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnEdit.ImageOptions.SvgImage"))); - this.barBtnEdit.Name = "barBtnEdit"; - this.barBtnEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnEdit_ItemClick); + barBtnEdit.Caption = "缂栬緫"; + barBtnEdit.Id = 42; + barBtnEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnEdit.ImageOptions.SvgImage"); + barBtnEdit.Name = "barBtnEdit"; + barBtnEdit.ItemClick += barBtnEdit_ItemClick; // // barBtnDelete // - this.barBtnDelete.Caption = "鍒犻櫎"; - this.barBtnDelete.Id = 43; - this.barBtnDelete.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnDelete.ImageOptions.SvgImage"))); - this.barBtnDelete.Name = "barBtnDelete"; - this.barBtnDelete.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; - this.barBtnDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnDelete_ItemClick); + barBtnDelete.Caption = "鍒犻櫎"; + barBtnDelete.Id = 43; + barBtnDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDelete.ImageOptions.SvgImage"); + barBtnDelete.Name = "barBtnDelete"; + barBtnDelete.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; + barBtnDelete.ItemClick += barBtnDelete_ItemClick; // // barBtnUpdateSortCode // - this.barBtnUpdateSortCode.Caption = "鎺掑簭鐮�"; - this.barBtnUpdateSortCode.Id = 44; - this.barBtnUpdateSortCode.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnUpdateSortCode.ImageOptions.SvgImage"))); - this.barBtnUpdateSortCode.Name = "barBtnUpdateSortCode"; - this.barBtnUpdateSortCode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnUpdateSortCode_ItemClick); + barBtnUpdateSortCode.Caption = "鎺掑簭鐮�"; + barBtnUpdateSortCode.Id = 44; + barBtnUpdateSortCode.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnUpdateSortCode.ImageOptions.SvgImage"); + barBtnUpdateSortCode.Name = "barBtnUpdateSortCode"; + barBtnUpdateSortCode.ItemClick += barBtnUpdateSortCode_ItemClick; // // barBtnDetail // - this.barBtnDetail.Caption = "璇存槑"; - this.barBtnDetail.Id = 36; - this.barBtnDetail.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnDetail.ImageOptions.SvgImage"))); - this.barBtnDetail.Name = "barBtnDetail"; - this.barBtnDetail.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnDetail_ItemClick); + barBtnDetail.Caption = "璇存槑"; + barBtnDetail.Id = 36; + barBtnDetail.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDetail.ImageOptions.SvgImage"); + barBtnDetail.Name = "barBtnDetail"; + barBtnDetail.ItemClick += barBtnDetail_ItemClick; // // barBtnExpandAll // - this.barBtnExpandAll.Caption = "鍏ㄩ儴灞曞紑"; - this.barBtnExpandAll.CategoryGuid = new System.Guid("66025f6c-663a-4ef4-927a-145971e982ee"); - this.barBtnExpandAll.Id = 8; - this.barBtnExpandAll.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnExpandAll.ImageOptions.SvgImage"))); - this.barBtnExpandAll.Name = "barBtnExpandAll"; - this.barBtnExpandAll.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnExpandAll_ItemClick); + barBtnExpandAll.Caption = "鍏ㄩ儴灞曞紑"; + barBtnExpandAll.CategoryGuid = new Guid("66025f6c-663a-4ef4-927a-145971e982ee"); + barBtnExpandAll.Id = 8; + barBtnExpandAll.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnExpandAll.ImageOptions.SvgImage"); + barBtnExpandAll.Name = "barBtnExpandAll"; + barBtnExpandAll.ItemClick += barBtnExpandAll_ItemClick; // // barBtnCollapseAll // - this.barBtnCollapseAll.Caption = "鍏ㄩ儴鎶樺彔"; - this.barBtnCollapseAll.CategoryGuid = new System.Guid("66025f6c-663a-4ef4-927a-145971e982ee"); - this.barBtnCollapseAll.Id = 9; - this.barBtnCollapseAll.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barBtnCollapseAll.ImageOptions.SvgImage"))); - this.barBtnCollapseAll.Name = "barBtnCollapseAll"; - this.barBtnCollapseAll.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnCollapseAll_ItemClick); + barBtnCollapseAll.Caption = "鍏ㄩ儴鎶樺彔"; + barBtnCollapseAll.CategoryGuid = new Guid("66025f6c-663a-4ef4-927a-145971e982ee"); + barBtnCollapseAll.Id = 9; + barBtnCollapseAll.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnCollapseAll.ImageOptions.SvgImage"); + barBtnCollapseAll.Name = "barBtnCollapseAll"; + barBtnCollapseAll.ItemClick += barBtnCollapseAll_ItemClick; // // barCkSearch // - this.barCkSearch.Caption = "妫�绱�"; - this.barCkSearch.Id = 37; - this.barCkSearch.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barCkSearch.ImageOptions.SvgImage"))); - this.barCkSearch.Name = "barCkSearch"; - this.barCkSearch.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCkSearch_CheckedChanged); + barCkSearch.Caption = "妫�绱�"; + barCkSearch.Id = 37; + barCkSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCkSearch.ImageOptions.SvgImage"); + barCkSearch.Name = "barCkSearch"; + barCkSearch.CheckedChanged += barCkSearch_CheckedChanged; // // barDockControlTop // - this.barDockControlTop.CausesValidation = false; - this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; - this.barDockControlTop.Location = new System.Drawing.Point(0, 0); - this.barDockControlTop.Manager = this.barManager1; - this.barDockControlTop.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.barDockControlTop.Size = new System.Drawing.Size(341, 75); + barDockControlTop.CausesValidation = false; + barDockControlTop.Dock = DockStyle.Top; + barDockControlTop.Location = new Point(0, 0); + barDockControlTop.Manager = barManager1; + barDockControlTop.Size = new Size(239, 53); // // barDockControlBottom // - this.barDockControlBottom.CausesValidation = false; - this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.barDockControlBottom.Location = new System.Drawing.Point(0, 894); - this.barDockControlBottom.Manager = this.barManager1; - this.barDockControlBottom.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.barDockControlBottom.Size = new System.Drawing.Size(341, 0); + barDockControlBottom.CausesValidation = false; + barDockControlBottom.Dock = DockStyle.Bottom; + barDockControlBottom.Location = new Point(0, 569); + barDockControlBottom.Manager = barManager1; + barDockControlBottom.Size = new Size(239, 0); // // barDockControlLeft // - this.barDockControlLeft.CausesValidation = false; - this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; - this.barDockControlLeft.Location = new System.Drawing.Point(0, 75); - this.barDockControlLeft.Manager = this.barManager1; - this.barDockControlLeft.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.barDockControlLeft.Size = new System.Drawing.Size(0, 819); + barDockControlLeft.CausesValidation = false; + barDockControlLeft.Dock = DockStyle.Left; + barDockControlLeft.Location = new Point(0, 53); + barDockControlLeft.Manager = barManager1; + barDockControlLeft.Size = new Size(0, 516); // // barDockControlRight // - this.barDockControlRight.CausesValidation = false; - this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; - this.barDockControlRight.Location = new System.Drawing.Point(341, 75); - this.barDockControlRight.Manager = this.barManager1; - this.barDockControlRight.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.barDockControlRight.Size = new System.Drawing.Size(0, 819); + barDockControlRight.CausesValidation = false; + barDockControlRight.Dock = DockStyle.Right; + barDockControlRight.Location = new Point(239, 53); + barDockControlRight.Manager = barManager1; + barDockControlRight.Size = new Size(0, 516); // // barRoot // - this.barRoot.Caption = "barSubItem1"; - this.barRoot.Id = 17; - this.barRoot.Name = "barRoot"; + barRoot.Caption = "barSubItem1"; + barRoot.Id = 17; + barRoot.Name = "barRoot"; // // layoutControl1 // - this.layoutControl1.Controls.Add(this.treeList1); - this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.layoutControl1.Location = new System.Drawing.Point(0, 75); - this.layoutControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.layoutControl1.Name = "layoutControl1"; - this.layoutControl1.Root = this.Root; - this.layoutControl1.Size = new System.Drawing.Size(341, 819); - this.layoutControl1.TabIndex = 6; - this.layoutControl1.Text = "layoutControl1"; + layoutControl1.Controls.Add(treeList1); + layoutControl1.Dock = DockStyle.Fill; + layoutControl1.Location = new Point(0, 53); + layoutControl1.Name = "layoutControl1"; + layoutControl1.Root = Root; + layoutControl1.Size = new Size(239, 516); + layoutControl1.TabIndex = 6; + layoutControl1.Text = "layoutControl1"; // // treeList1 // - this.treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; - this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { - this.colName}); - this.treeList1.FixedLineWidth = 3; - this.treeList1.HorzScrollStep = 4; - this.treeList1.Location = new System.Drawing.Point(0, 0); - this.treeList1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.treeList1.MinWidth = 29; - this.treeList1.Name = "treeList1"; - this.treeList1.OptionsBehavior.Editable = false; - this.treeList1.OptionsBehavior.ReadOnly = true; - this.treeList1.OptionsMenu.EnableNodeMenu = false; - this.treeList1.OptionsSelection.EnableAppearanceFocusedCell = false; - this.treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; - this.treeList1.Size = new System.Drawing.Size(341, 819); - this.treeList1.TabIndex = 7; - this.treeList1.TreeLevelWidth = 26; - this.treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; - this.treeList1.BeforeFocusNode += new DevExpress.XtraTreeList.BeforeFocusNodeEventHandler(this.treeList1_BeforeFocusNode); - this.treeList1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeList1_FocusedNodeChanged); + treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; + treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); + treeList1.Location = new Point(0, 0); + treeList1.Name = "treeList1"; + treeList1.OptionsBehavior.Editable = false; + treeList1.OptionsBehavior.ReadOnly = true; + treeList1.OptionsMenu.EnableNodeMenu = false; + treeList1.OptionsSelection.EnableAppearanceFocusedCell = false; + treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; + treeList1.Size = new Size(239, 516); + treeList1.TabIndex = 7; + treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; + treeList1.BeforeFocusNode += treeList1_BeforeFocusNode; + treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; // // colName // - this.colName.Caption = "鍚嶇О"; - this.colName.FieldName = "Name"; - this.colName.MinWidth = 33; - this.colName.Name = "colName"; - this.colName.Visible = true; - this.colName.VisibleIndex = 0; - this.colName.Width = 124; + colName.Caption = "鍚嶇О"; + colName.FieldName = "Name"; + colName.MinWidth = 23; + colName.Name = "colName"; + colName.Visible = true; + colName.VisibleIndex = 0; + colName.Width = 87; // // Root // - this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - this.Root.GroupBordersVisible = false; - this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem2}); - this.Root.Name = "Root"; - this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.Root.Size = new System.Drawing.Size(341, 819); - this.Root.TextVisible = false; + Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + Root.GroupBordersVisible = false; + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 }); + Root.Name = "Root"; + Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + Root.Size = new Size(239, 516); + Root.TextVisible = false; // // layoutControlItem2 // - this.layoutControlItem2.Control = this.treeList1; - this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.layoutControlItem2.Size = new System.Drawing.Size(341, 819); - this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem2.TextVisible = false; + layoutControlItem2.Control = treeList1; + layoutControlItem2.Location = new Point(0, 0); + layoutControlItem2.Name = "layoutControlItem2"; + layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlItem2.Size = new Size(239, 516); + layoutControlItem2.TextSize = new Size(0, 0); + layoutControlItem2.TextVisible = false; // // barRootBasicInfoMgr // - this.barRootBasicInfoMgr.Caption = "barSubItem1"; - this.barRootBasicInfoMgr.Id = 20; - this.barRootBasicInfoMgr.Name = "barRootBasicInfoMgr"; + barRootBasicInfoMgr.Caption = "barSubItem1"; + barRootBasicInfoMgr.Id = 20; + barRootBasicInfoMgr.Name = "barRootBasicInfoMgr"; // // RegionTreeListCtrl // - this.Appearance.BackColor = System.Drawing.SystemColors.Control; - this.Appearance.Options.UseBackColor = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.layoutControl1); - this.Controls.Add(this.barDockControlLeft); - this.Controls.Add(this.barDockControlRight); - this.Controls.Add(this.barDockControlBottom); - this.Controls.Add(this.barDockControlTop); - this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.Name = "RegionTreeListCtrl"; - this.Size = new System.Drawing.Size(341, 894); - ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); - this.layoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - + Appearance.BackColor = SystemColors.Control; + Appearance.Options.UseBackColor = true; + AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleMode = AutoScaleMode.Font; + Controls.Add(layoutControl1); + Controls.Add(barDockControlLeft); + Controls.Add(barDockControlRight); + Controls.Add(barDockControlBottom); + Controls.Add(barDockControlTop); + Name = "RegionTreeListCtrl"; + Size = new Size(239, 569); + ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); + layoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); + ((System.ComponentModel.ISupportInitialize)Root).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); + ResumeLayout(false); + PerformLayout(); } #endregion -- Gitblit v1.9.3