| | |
| | | homeXhsProjectTreeListCtrl1 = new HomeXhsProjectTreeListCtrl(); |
| | | svgImg32 = new DevExpress.Utils.SvgImageCollection(components); |
| | | sidePanel1 = new SidePanel(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | layoutView1 = new DevExpress.XtraGrid.Views.Layout.LayoutView(); |
| | | colName = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); |
| | | layoutViewField_colName = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | colCount = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); |
| | | layoutViewField_colCount = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | colPicture = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); |
| | | repPicEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); |
| | | layoutViewField_colPicture = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard(); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | sidePanelBottom = new SidePanel(); |
| | | dockPanelFill = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | controlContainer2 = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | |
| | | dockPanelLeft = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | xhsProjectHomeTitleCtrl1 = new XhsProjectHomeTitleCtrl(); |
| | | ((ISupportInitialize)svgImg32).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)layoutView1).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colName).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colCount).BeginInit(); |
| | | ((ISupportInitialize)repPicEdit).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colPicture).BeginInit(); |
| | | ((ISupportInitialize)layoutViewCard1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | sidePanelBottom.SuspendLayout(); |
| | | dockPanelFill.SuspendLayout(); |
| | | controlContainer2.SuspendLayout(); |
| | |
| | | // |
| | | // sidePanel1 |
| | | // |
| | | sidePanel1.Controls.Add(gridControl1); |
| | | sidePanel1.Controls.Add(xhsProjectHomeTitleCtrl1); |
| | | sidePanel1.Dock = DockStyle.Top; |
| | | sidePanel1.Location = new Point(0, 0); |
| | | sidePanel1.Name = "sidePanel1"; |
| | | sidePanel1.Size = new Size(1063, 94); |
| | | 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.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { layoutView1, gridView1 }); |
| | | // |
| | | // layoutView1 |
| | | // |
| | | layoutView1.Appearance.Card.BackColor = Color.Transparent; |
| | | layoutView1.Appearance.Card.Options.UseBackColor = true; |
| | | layoutView1.Appearance.FieldCaption.BackColor = Color.Transparent; |
| | | layoutView1.Appearance.FieldCaption.Options.UseBackColor = true; |
| | | layoutView1.Appearance.FieldValue.BackColor = Color.Transparent; |
| | | layoutView1.Appearance.FieldValue.Options.UseBackColor = true; |
| | | layoutView1.BorderStyle = BorderStyles.NoBorder; |
| | | layoutView1.CardHorzInterval = 4; |
| | | layoutView1.CardMinSize = new Size(210, 69); |
| | | 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.OptionsBehavior.ScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto; |
| | | layoutView1.OptionsCustomization.AllowFilter = false; |
| | | layoutView1.OptionsCustomization.AllowSort = false; |
| | | layoutView1.OptionsItemText.TextToControlDistance = 3; |
| | | layoutView1.OptionsView.AllowHotTrackFields = false; |
| | | layoutView1.OptionsView.CardArrangeRule = DevExpress.XtraGrid.Views.Layout.LayoutCardArrangeRule.AllowPartialCards; |
| | | layoutView1.OptionsView.FocusRectStyle = DevExpress.XtraGrid.Views.Layout.FocusRectStyle.None; |
| | | layoutView1.OptionsView.ShowCardCaption = false; |
| | | layoutView1.OptionsView.ShowCardExpandButton = false; |
| | | layoutView1.OptionsView.ShowCardLines = false; |
| | | layoutView1.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; |
| | | layoutView1.OptionsView.ShowHeaderPanel = 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.AppearanceCell.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; |
| | | colName.AppearanceCell.Options.UseFont = true; |
| | | colName.AppearanceCell.Options.UseForeColor = true; |
| | | colName.AppearanceCell.Options.UseTextOptions = true; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.LayoutViewField = layoutViewField_colName; |
| | | colName.MinWidth = 21; |
| | | colName.Name = "colName"; |
| | | colName.Width = 78; |
| | | // |
| | | // layoutViewField_colName |
| | | // |
| | | layoutViewField_colName.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutViewField_colName.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutViewField_colName.EditorPreferredWidth = 106; |
| | | 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.Size = new Size(159, 36); |
| | | layoutViewField_colName.TextSize = new Size(0, 0); |
| | | layoutViewField_colName.TextVisible = false; |
| | | // |
| | | // colCount |
| | | // |
| | | colCount.AppearanceCell.Font = new Font("Tahoma", 16F, FontStyle.Bold, GraphicsUnit.Point); |
| | | colCount.AppearanceCell.FontStyleDelta = FontStyle.Bold; |
| | | colCount.AppearanceCell.Options.UseFont = true; |
| | | colCount.AppearanceCell.Options.UseTextOptions = true; |
| | | colCount.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCount.Caption = "数量"; |
| | | colCount.FieldName = "Count"; |
| | | colCount.LayoutViewField = layoutViewField_colCount; |
| | | colCount.MinWidth = 21; |
| | | colCount.Name = "colCount"; |
| | | colCount.Width = 78; |
| | | // |
| | | // layoutViewField_colCount |
| | | // |
| | | layoutViewField_colCount.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutViewField_colCount.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutViewField_colCount.EditorPreferredWidth = 106; |
| | | 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.Size = new Size(159, 65); |
| | | layoutViewField_colCount.TextSize = new Size(0, 0); |
| | | layoutViewField_colCount.TextVisible = false; |
| | | // |
| | | // colPicture |
| | | // |
| | | colPicture.Caption = "图片"; |
| | | colPicture.ColumnEdit = repPicEdit; |
| | | colPicture.FieldName = "Image"; |
| | | colPicture.LayoutViewField = layoutViewField_colPicture; |
| | | colPicture.MinWidth = 21; |
| | | colPicture.Name = "colPicture"; |
| | | colPicture.Width = 78; |
| | | // |
| | | // repPicEdit |
| | | // |
| | | repPicEdit.Name = "repPicEdit"; |
| | | // |
| | | // layoutViewField_colPicture |
| | | // |
| | | layoutViewField_colPicture.EditorPreferredWidth = 87; |
| | | 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.Size = new Size(133, 101); |
| | | layoutViewField_colPicture.StartNewLine = true; |
| | | layoutViewField_colPicture.TextSize = new Size(0, 0); |
| | | layoutViewField_colPicture.TextVisible = false; |
| | | // |
| | | // layoutViewCard1 |
| | | // |
| | | layoutViewCard1.CustomizationFormText = "TemplateCard"; |
| | | layoutViewCard1.GroupBordersVisible = false; |
| | | layoutViewCard1.GroupStyle = DevExpress.Utils.GroupStyle.Light; |
| | | layoutViewCard1.HeaderButtonsLocation = DevExpress.Utils.GroupElementLocation.AfterText; |
| | | 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.Text = "TemplateCard"; |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.DetailHeight = 223; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsEditForm.PopupEditFormWidth = 560; |
| | | // |
| | | // sidePanelBottom |
| | | // |
| | |
| | | dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; |
| | | dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); |
| | | // |
| | | // xhsProjectHomeTitleCtrl1 |
| | | // |
| | | xhsProjectHomeTitleCtrl1.Dock = DockStyle.Fill; |
| | | xhsProjectHomeTitleCtrl1.Location = new Point(0, 0); |
| | | xhsProjectHomeTitleCtrl1.Name = "xhsProjectHomeTitleCtrl1"; |
| | | xhsProjectHomeTitleCtrl1.Size = new Size(1063, 93); |
| | | xhsProjectHomeTitleCtrl1.TabIndex = 0; |
| | | // |
| | | // HomeXhsProjectPage |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | |
| | | Size = new Size(1063, 677); |
| | | ((ISupportInitialize)svgImg32).EndInit(); |
| | | sidePanel1.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)layoutView1).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colName).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colCount).EndInit(); |
| | | ((ISupportInitialize)repPicEdit).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colPicture).EndInit(); |
| | | ((ISupportInitialize)layoutViewCard1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | sidePanelBottom.ResumeLayout(false); |
| | | dockPanelFill.ResumeLayout(false); |
| | | controlContainer2.ResumeLayout(false); |
| | |
| | | private DevExpress.Utils.SvgImageCollection svgImg32; |
| | | private DevExpress.XtraEditors.SidePanel sidePanel1; |
| | | private DevExpress.XtraEditors.SidePanel sidePanelBottom; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutView layoutView1; |
| | | private DevExpress.XtraGrid.Columns.LayoutViewColumn colName; |
| | | private DevExpress.XtraGrid.Columns.LayoutViewColumn colCount; |
| | | private DevExpress.XtraGrid.Columns.LayoutViewColumn colPicture; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit repPicEdit; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanelLeft; |
| | | private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; |
| | | private DevExpress.XtraBars.Docking.DockManager dockManager1; |
| | |
| | | private DevExpress.XtraBars.Docking.ControlContainer controlContainer1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanelFill; |
| | | private DevExpress.XtraBars.Docking.ControlContainer controlContainer2; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colName; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colCount; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colPicture; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewCard layoutViewCard1; |
| | | private XhsProjectHomeTitleCtrl xhsProjectHomeTitleCtrl1; |
| | | } |
| | | } |