| | |
| | | // |
| | | mapViewProjectListContainer1.Dock = DockStyle.Fill; |
| | | mapViewProjectListContainer1.Location = new Point(0, 0); |
| | | mapViewProjectListContainer1.Margin = new Padding(3, 2, 3, 2); |
| | | mapViewProjectListContainer1.Margin = new Padding(4, 3, 4, 3); |
| | | mapViewProjectListContainer1.Name = "mapViewProjectListContainer1"; |
| | | mapViewProjectListContainer1.Padding = new Padding(1); |
| | | mapViewProjectListContainer1.Size = new Size(665, 560); |
| | | mapViewProjectListContainer1.Padding = new Padding(1, 2, 1, 2); |
| | | mapViewProjectListContainer1.Size = new Size(950, 882); |
| | | mapViewProjectListContainer1.TabIndex = 5; |
| | | mapViewProjectListContainer1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; |
| | | // |
| | |
| | | // |
| | | homeXhsProjectPropertyCtrl1.Dock = DockStyle.Fill; |
| | | homeXhsProjectPropertyCtrl1.Location = new Point(0, 0); |
| | | homeXhsProjectPropertyCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | homeXhsProjectPropertyCtrl1.Margin = new Padding(6, 8, 6, 8); |
| | | homeXhsProjectPropertyCtrl1.Name = "homeXhsProjectPropertyCtrl1"; |
| | | homeXhsProjectPropertyCtrl1.SelectedObject = null; |
| | | homeXhsProjectPropertyCtrl1.Size = new Size(206, 560); |
| | | homeXhsProjectPropertyCtrl1.Size = new Size(295, 882); |
| | | homeXhsProjectPropertyCtrl1.TabIndex = 0; |
| | | homeXhsProjectPropertyCtrl1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; |
| | | // |
| | |
| | | // |
| | | homeXhsProjectTreeListCtrl1.Dock = DockStyle.Fill; |
| | | homeXhsProjectTreeListCtrl1.Location = new Point(0, 0); |
| | | homeXhsProjectTreeListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | homeXhsProjectTreeListCtrl1.Margin = new Padding(6, 8, 6, 8); |
| | | homeXhsProjectTreeListCtrl1.Name = "homeXhsProjectTreeListCtrl1"; |
| | | homeXhsProjectTreeListCtrl1.Size = new Size(190, 560); |
| | | homeXhsProjectTreeListCtrl1.Size = new Size(272, 882); |
| | | homeXhsProjectTreeListCtrl1.TabIndex = 0; |
| | | homeXhsProjectTreeListCtrl1.SelectProjectEvent += homeXhsProjectTreeListCtrl1_SelectProjectEvent; |
| | | homeXhsProjectTreeListCtrl1.RefreshDataEvent += homeXhsProjectTreeListCtrl1_RefreshDataEvent; |
| | |
| | | sidePanel1.Controls.Add(gridControl1); |
| | | sidePanel1.Dock = DockStyle.Top; |
| | | sidePanel1.Location = new Point(0, 0); |
| | | sidePanel1.Margin = new Padding(4, 5, 4, 5); |
| | | sidePanel1.Name = "sidePanel1"; |
| | | sidePanel1.Size = new Size(1063, 94); |
| | | sidePanel1.Size = new Size(1519, 148); |
| | | sidePanel1.TabIndex = 1; |
| | | sidePanel1.Text = "sidePanel1"; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(2); |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = layoutView1; |
| | | gridControl1.Margin = new Padding(2); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicEdit }); |
| | | gridControl1.Size = new Size(1063, 93); |
| | | gridControl1.Size = new Size(1519, 147); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { layoutView1, gridView1 }); |
| | | // |
| | |
| | | layoutView1.Appearance.FieldValue.Options.UseBackColor = true; |
| | | layoutView1.BorderStyle = BorderStyles.NoBorder; |
| | | layoutView1.CardHorzInterval = 4; |
| | | layoutView1.CardMinSize = new Size(210, 69); |
| | | layoutView1.CardMinSize = new Size(300, 108); |
| | | layoutView1.CardVertInterval = 0; |
| | | layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colCount, colPicture }); |
| | | layoutView1.DetailHeight = 223; |
| | | layoutView1.GridControl = gridControl1; |
| | | layoutView1.Name = "layoutView1"; |
| | | layoutView1.OptionsBehavior.Editable = false; |
| | |
| | | layoutView1.OptionsView.ViewMode = DevExpress.XtraGrid.Views.Layout.LayoutViewMode.Row; |
| | | layoutView1.TemplateCard = layoutViewCard1; |
| | | layoutView1.FieldValueClick += layoutView1_FieldValueClick; |
| | | // |
| | | // |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Font = new Font("Tahoma", 13F, FontStyle.Regular, GraphicsUnit.Point); |
| | |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.LayoutViewField = layoutViewField_colName; |
| | | colName.MinWidth = 21; |
| | | colName.MinWidth = 30; |
| | | colName.Name = "colName"; |
| | | colName.Width = 78; |
| | | colName.Width = 111; |
| | | // |
| | | // layoutViewField_colName |
| | | // |
| | | layoutViewField_colName.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutViewField_colName.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutViewField_colName.EditorPreferredWidth = 106; |
| | | layoutViewField_colName.EditorPreferredWidth = 151; |
| | | layoutViewField_colName.Location = new Point(133, 0); |
| | | layoutViewField_colName.Name = "layoutViewField_colName"; |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewField_colName.Size = new Size(159, 36); |
| | | layoutViewField_colName.TextSize = new Size(0, 0); |
| | | layoutViewField_colName.TextVisible = false; |
| | |
| | | colCount.Caption = "数量"; |
| | | colCount.FieldName = "Count"; |
| | | colCount.LayoutViewField = layoutViewField_colCount; |
| | | colCount.MinWidth = 21; |
| | | colCount.MinWidth = 30; |
| | | colCount.Name = "colCount"; |
| | | colCount.Width = 78; |
| | | colCount.Width = 111; |
| | | // |
| | | // layoutViewField_colCount |
| | | // |
| | | layoutViewField_colCount.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutViewField_colCount.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutViewField_colCount.EditorPreferredWidth = 106; |
| | | layoutViewField_colCount.EditorPreferredWidth = 151; |
| | | layoutViewField_colCount.Location = new Point(133, 36); |
| | | layoutViewField_colCount.Name = "layoutViewField_colCount"; |
| | | layoutViewField_colCount.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colCount.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewField_colCount.Size = new Size(159, 65); |
| | | layoutViewField_colCount.TextSize = new Size(0, 0); |
| | | layoutViewField_colCount.TextVisible = false; |
| | |
| | | colPicture.ColumnEdit = repPicEdit; |
| | | colPicture.FieldName = "Image"; |
| | | colPicture.LayoutViewField = layoutViewField_colPicture; |
| | | colPicture.MinWidth = 21; |
| | | colPicture.MinWidth = 30; |
| | | colPicture.Name = "colPicture"; |
| | | colPicture.Width = 78; |
| | | colPicture.Width = 111; |
| | | // |
| | | // repPicEdit |
| | | // |
| | |
| | | // |
| | | // layoutViewField_colPicture |
| | | // |
| | | layoutViewField_colPicture.EditorPreferredWidth = 87; |
| | | layoutViewField_colPicture.EditorPreferredWidth = 124; |
| | | layoutViewField_colPicture.Location = new Point(0, 0); |
| | | layoutViewField_colPicture.Name = "layoutViewField_colPicture"; |
| | | layoutViewField_colPicture.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colPicture.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewField_colPicture.Size = new Size(133, 101); |
| | | layoutViewField_colPicture.StartNewLine = true; |
| | | layoutViewField_colPicture.TextSize = new Size(0, 0); |
| | |
| | | layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutViewField_colCount, layoutViewField_colPicture, layoutViewField_colName }); |
| | | layoutViewCard1.Name = "layoutViewCard1"; |
| | | layoutViewCard1.OptionsItemText.TextToControlDistance = 3; |
| | | layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewCard1.Text = "TemplateCard"; |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.DetailHeight = 223; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsEditForm.PopupEditFormWidth = 560; |
| | | // |
| | | // sidePanelBottom |
| | | // |
| | |
| | | sidePanelBottom.Controls.Add(dockPanelRight); |
| | | sidePanelBottom.Controls.Add(dockPanelLeft); |
| | | sidePanelBottom.Dock = DockStyle.Fill; |
| | | sidePanelBottom.Location = new Point(0, 94); |
| | | sidePanelBottom.Location = new Point(0, 148); |
| | | sidePanelBottom.Margin = new Padding(4, 5, 4, 5); |
| | | sidePanelBottom.Name = "sidePanelBottom"; |
| | | sidePanelBottom.Size = new Size(1063, 583); |
| | | sidePanelBottom.Size = new Size(1519, 916); |
| | | sidePanelBottom.TabIndex = 7; |
| | | sidePanelBottom.Text = "sidePanel3"; |
| | | // |
| | |
| | | dockPanelFill.Controls.Add(controlContainer2); |
| | | dockPanelFill.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelFill.ID = new Guid("136389ea-6552-4166-8c2a-b2ffe8b01953"); |
| | | dockPanelFill.Location = new Point(191, 0); |
| | | dockPanelFill.Margin = new Padding(2); |
| | | dockPanelFill.Location = new Point(273, 0); |
| | | dockPanelFill.Name = "dockPanelFill"; |
| | | dockPanelFill.Options.ShowCloseButton = false; |
| | | dockPanelFill.OriginalSize = new Size(287, 200); |
| | | dockPanelFill.Size = new Size(665, 583); |
| | | dockPanelFill.Size = new Size(950, 916); |
| | | dockPanelFill.Text = "地图"; |
| | | // |
| | | // controlContainer2 |
| | | // |
| | | controlContainer2.Controls.Add(mapViewProjectListContainer1); |
| | | controlContainer2.Location = new Point(0, 23); |
| | | controlContainer2.Margin = new Padding(2); |
| | | controlContainer2.Location = new Point(0, 34); |
| | | controlContainer2.Name = "controlContainer2"; |
| | | controlContainer2.Size = new Size(665, 560); |
| | | controlContainer2.Size = new Size(950, 882); |
| | | controlContainer2.TabIndex = 0; |
| | | // |
| | | // dockPanelRight |
| | |
| | | dockPanelRight.Controls.Add(controlContainer1); |
| | | dockPanelRight.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; |
| | | dockPanelRight.ID = new Guid("18c9fca9-8ae9-473c-9cd2-0467d818af3f"); |
| | | dockPanelRight.Location = new Point(856, 0); |
| | | dockPanelRight.Margin = new Padding(2); |
| | | dockPanelRight.Location = new Point(1223, 0); |
| | | dockPanelRight.Name = "dockPanelRight"; |
| | | dockPanelRight.Options.ShowCloseButton = false; |
| | | dockPanelRight.OriginalSize = new Size(207, 200); |
| | | dockPanelRight.Size = new Size(207, 583); |
| | | dockPanelRight.Size = new Size(296, 916); |
| | | dockPanelRight.Text = "项目属性"; |
| | | // |
| | | // controlContainer1 |
| | | // |
| | | controlContainer1.Controls.Add(homeXhsProjectPropertyCtrl1); |
| | | controlContainer1.Location = new Point(1, 23); |
| | | controlContainer1.Margin = new Padding(2); |
| | | controlContainer1.Location = new Point(1, 34); |
| | | controlContainer1.Name = "controlContainer1"; |
| | | controlContainer1.Size = new Size(206, 560); |
| | | controlContainer1.Size = new Size(295, 882); |
| | | controlContainer1.TabIndex = 0; |
| | | // |
| | | // dockPanelLeft |
| | |
| | | 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); |
| | | dockPanelLeft.Name = "dockPanelLeft"; |
| | | dockPanelLeft.Options.ShowCloseButton = false; |
| | | dockPanelLeft.OriginalSize = new Size(191, 200); |
| | | dockPanelLeft.Size = new Size(191, 583); |
| | | dockPanelLeft.Size = new Size(273, 916); |
| | | dockPanelLeft.Text = "项目列表"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(homeXhsProjectTreeListCtrl1); |
| | | dockPanel1_Container.Location = new Point(0, 23); |
| | | dockPanel1_Container.Margin = new Padding(2); |
| | | dockPanel1_Container.Location = new Point(0, 34); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(190, 560); |
| | | dockPanel1_Container.Size = new Size(272, 882); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // dockManager1 |
| | |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(sidePanelBottom); |
| | | Controls.Add(sidePanel1); |
| | | Margin = new Padding(4, 5, 4, 5); |
| | | Margin = new Padding(6, 8, 6, 8); |
| | | Name = "HomeXhsProjectPage"; |
| | | Size = new Size(1063, 677); |
| | | Size = new Size(1519, 1064); |
| | | ((ISupportInitialize)svgImg32).EndInit(); |
| | | sidePanel1.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |