lixiaojun
2024-11-28 d77f3a8770f4011e52d7d56a7c2acc6003449844
首页调整
已修改4个文件
73 ■■■■ 文件已修改
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/00-core/HomeXhsProjectPage.Designer.cs 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeViewModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/00-core/HomeXhsProjectPage.Designer.cs
@@ -79,8 +79,8 @@
            mapViewProjectListContainer1.Location = new Point(0, 0);
            mapViewProjectListContainer1.Margin = new Padding(3, 2, 3, 2);
            mapViewProjectListContainer1.Name = "mapViewProjectListContainer1";
            mapViewProjectListContainer1.Padding = new Padding(1, 1, 1, 1);
            mapViewProjectListContainer1.Size = new Size(713, 560);
            mapViewProjectListContainer1.Padding = new Padding(1);
            mapViewProjectListContainer1.Size = new Size(645, 560);
            mapViewProjectListContainer1.TabIndex = 5;
            mapViewProjectListContainer1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent;
            // 
@@ -91,7 +91,7 @@
            homeXhsProjectPropertyCtrl1.Margin = new Padding(4, 5, 4, 5);
            homeXhsProjectPropertyCtrl1.Name = "homeXhsProjectPropertyCtrl1";
            homeXhsProjectPropertyCtrl1.SelectedObject = null;
            homeXhsProjectPropertyCtrl1.Size = new Size(199, 560);
            homeXhsProjectPropertyCtrl1.Size = new Size(237, 560);
            homeXhsProjectPropertyCtrl1.TabIndex = 0;
            homeXhsProjectPropertyCtrl1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent;
            // 
@@ -101,7 +101,7 @@
            homeXhsProjectTreeListCtrl1.Location = new Point(0, 0);
            homeXhsProjectTreeListCtrl1.Margin = new Padding(4, 5, 4, 5);
            homeXhsProjectTreeListCtrl1.Name = "homeXhsProjectTreeListCtrl1";
            homeXhsProjectTreeListCtrl1.Size = new Size(149, 560);
            homeXhsProjectTreeListCtrl1.Size = new Size(179, 560);
            homeXhsProjectTreeListCtrl1.TabIndex = 0;
            homeXhsProjectTreeListCtrl1.SelectProjectEvent += homeXhsProjectTreeListCtrl1_SelectProjectEvent;
            homeXhsProjectTreeListCtrl1.RefreshDataEvent += homeXhsProjectTreeListCtrl1_RefreshDataEvent;
@@ -126,10 +126,10 @@
            // gridControl1
            // 
            gridControl1.Dock = DockStyle.Fill;
            gridControl1.EmbeddedNavigator.Margin = new Padding(2, 2, 2, 2);
            gridControl1.EmbeddedNavigator.Margin = new Padding(2);
            gridControl1.Location = new Point(0, 0);
            gridControl1.MainView = layoutView1;
            gridControl1.Margin = new Padding(2, 2, 2, 2);
            gridControl1.Margin = new Padding(2);
            gridControl1.Name = "gridControl1";
            gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicEdit });
            gridControl1.Size = new Size(1063, 93);
@@ -287,21 +287,21 @@
            dockPanelFill.Controls.Add(controlContainer2);
            dockPanelFill.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill;
            dockPanelFill.ID = new Guid("136389ea-6552-4166-8c2a-b2ffe8b01953");
            dockPanelFill.Location = new Point(150, 0);
            dockPanelFill.Margin = new Padding(2, 2, 2, 2);
            dockPanelFill.Location = new Point(180, 0);
            dockPanelFill.Margin = new Padding(2);
            dockPanelFill.Name = "dockPanelFill";
            dockPanelFill.Options.ShowCloseButton = false;
            dockPanelFill.OriginalSize = new Size(1019, 200);
            dockPanelFill.Size = new Size(713, 583);
            dockPanelFill.OriginalSize = new Size(645, 200);
            dockPanelFill.Size = new Size(645, 583);
            dockPanelFill.Text = "地图";
            // 
            // controlContainer2
            // 
            controlContainer2.Controls.Add(mapViewProjectListContainer1);
            controlContainer2.Location = new Point(0, 23);
            controlContainer2.Margin = new Padding(2, 2, 2, 2);
            controlContainer2.Margin = new Padding(2);
            controlContainer2.Name = "controlContainer2";
            controlContainer2.Size = new Size(713, 560);
            controlContainer2.Size = new Size(645, 560);
            controlContainer2.TabIndex = 0;
            // 
            // dockPanelRight
@@ -309,21 +309,21 @@
            dockPanelRight.Controls.Add(controlContainer1);
            dockPanelRight.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right;
            dockPanelRight.ID = new Guid("18c9fca9-8ae9-473c-9cd2-0467d818af3f");
            dockPanelRight.Location = new Point(863, 0);
            dockPanelRight.Margin = new Padding(2, 2, 2, 2);
            dockPanelRight.Location = new Point(825, 0);
            dockPanelRight.Margin = new Padding(2);
            dockPanelRight.Name = "dockPanelRight";
            dockPanelRight.Options.ShowCloseButton = false;
            dockPanelRight.OriginalSize = new Size(286, 200);
            dockPanelRight.Size = new Size(200, 583);
            dockPanelRight.OriginalSize = new Size(238, 200);
            dockPanelRight.Size = new Size(238, 583);
            dockPanelRight.Text = "项目属性";
            // 
            // controlContainer1
            // 
            controlContainer1.Controls.Add(homeXhsProjectPropertyCtrl1);
            controlContainer1.Location = new Point(1, 23);
            controlContainer1.Margin = new Padding(2, 2, 2, 2);
            controlContainer1.Margin = new Padding(2);
            controlContainer1.Name = "controlContainer1";
            controlContainer1.Size = new Size(199, 560);
            controlContainer1.Size = new Size(237, 560);
            controlContainer1.TabIndex = 0;
            // 
            // dockPanelLeft
@@ -332,20 +332,20 @@
            dockPanelLeft.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
            dockPanelLeft.ID = new Guid("fba93cbc-dfe6-4982-8aee-be8baff1ea68");
            dockPanelLeft.Location = new Point(0, 0);
            dockPanelLeft.Margin = new Padding(2, 2, 2, 2);
            dockPanelLeft.Margin = new Padding(2);
            dockPanelLeft.Name = "dockPanelLeft";
            dockPanelLeft.Options.ShowCloseButton = false;
            dockPanelLeft.OriginalSize = new Size(214, 200);
            dockPanelLeft.Size = new Size(150, 583);
            dockPanelLeft.OriginalSize = new Size(180, 200);
            dockPanelLeft.Size = new Size(180, 583);
            dockPanelLeft.Text = "项目列表";
            // 
            // dockPanel1_Container
            // 
            dockPanel1_Container.Controls.Add(homeXhsProjectTreeListCtrl1);
            dockPanel1_Container.Location = new Point(0, 23);
            dockPanel1_Container.Margin = new Padding(2, 2, 2, 2);
            dockPanel1_Container.Margin = new Padding(2);
            dockPanel1_Container.Name = "dockPanel1_Container";
            dockPanel1_Container.Size = new Size(149, 560);
            dockPanel1_Container.Size = new Size(179, 560);
            dockPanel1_Container.TabIndex = 0;
            // 
            // dockManager1
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs
@@ -96,9 +96,9 @@
            btnImportProject.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter;
            btnImportProject.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnImportProject.ImageOptions.SvgImage");
            btnImportProject.ImageOptions.SvgImageSize = new Size(24, 24);
            btnImportProject.Location = new Point(0, 607);
            btnImportProject.Location = new Point(0, 612);
            btnImportProject.Name = "btnImportProject";
            btnImportProject.Size = new Size(235, 28);
            btnImportProject.Size = new Size(235, 23);
            btnImportProject.StyleController = layoutControl1;
            btnImportProject.TabIndex = 6;
            btnImportProject.Text = "导入项目";
@@ -113,10 +113,12 @@
            treeList1.OptionsMenu.EnableNodeMenu = false;
            treeList1.OptionsSelection.EnableAppearanceFocusedCell = false;
            treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None;
            treeList1.OptionsView.RowImagesShowMode = DevExpress.XtraTreeList.RowImagesShowMode.InIndent;
            treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 });
            treeList1.Size = new Size(235, 581);
            treeList1.StateImageList = imageCollection1;
            treeList1.SelectImageList = imageCollection1;
            treeList1.Size = new Size(235, 586);
            treeList1.TabIndex = 5;
            treeList1.TreeViewFieldName = "Name";
            treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView;
            treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged;
            treeList1.DoubleClick += treeList1_DoubleClick;
@@ -284,19 +286,19 @@
            layoutControlItem2.Location = new Point(0, 23);
            layoutControlItem2.Name = "layoutControlItem2";
            layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1);
            layoutControlItem2.Size = new Size(235, 583);
            layoutControlItem2.Size = new Size(235, 588);
            layoutControlItem2.TextSize = new Size(0, 0);
            layoutControlItem2.TextVisible = false;
            // 
            // layoutControlItem3
            // 
            layoutControlItem3.Control = btnImportProject;
            layoutControlItem3.Location = new Point(0, 606);
            layoutControlItem3.MaxSize = new Size(0, 30);
            layoutControlItem3.MinSize = new Size(100, 30);
            layoutControlItem3.Location = new Point(0, 611);
            layoutControlItem3.MaxSize = new Size(0, 25);
            layoutControlItem3.MinSize = new Size(82, 25);
            layoutControlItem3.Name = "layoutControlItem3";
            layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1);
            layoutControlItem3.Size = new Size(235, 30);
            layoutControlItem3.Size = new Size(235, 25);
            layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
            layoutControlItem3.TextSize = new Size(0, 0);
            layoutControlItem3.TextVisible = false;
@@ -350,6 +352,6 @@
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
        private DevExpress.XtraBars.BarButtonItem barBtnRefresh;
        private DevExpress.Utils.ImageCollection imageCollection1;
         private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
    }
}
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.cs
@@ -9,7 +9,6 @@
            InitializeComponent();
            this.treeList1.InitialDefaultSettings();
            this.layoutControl1.SetupLayoutControl();
            this.treeList1.SelectImageList = imageCollection1;
        }
        /// <summary>
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeViewModel.cs
@@ -26,6 +26,10 @@
            {
                this.ImageIndex = ImageLib.NotImported;
            }
            else
            {
                this.ImageIndex = -1;
            }
        }
        /// <summary>