| | |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(34, 39, 34, 39); |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnAdd, barBtnEdit, barBtnDelete, barBtnInfo, barBtnSearch, barBtnRefresh, barBtnUp, barBtnDown, barCkDrag, barBtnFactor }); |
| | | ribbonControl1.Location = new Point(1, 1); |
| | | ribbonControl1.Margin = new Padding(3, 4, 3, 4); |
| | | ribbonControl1.MaxItemId = 19; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.OptionsMenuMinWidth = 377; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
| | | ribbonControl1.ShowToolbarCustomizeItem = false; |
| | | ribbonControl1.Size = new Size(1107, 101); |
| | | ribbonControl1.Size = new Size(1265, 157); |
| | | ribbonControl1.Toolbar.ShowCustomizeItem = false; |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | |
| | | panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | panelControl1.Controls.Add(gridControl1); |
| | | panelControl1.Dock = DockStyle.Fill; |
| | | panelControl1.Location = new Point(1, 102); |
| | | panelControl1.Location = new Point(1, 158); |
| | | panelControl1.Margin = new Padding(3, 4, 3, 4); |
| | | panelControl1.Name = "panelControl1"; |
| | | panelControl1.Padding = new Padding(0, 1, 0, 0); |
| | | panelControl1.Size = new Size(1107, 567); |
| | | panelControl1.Size = new Size(1265, 702); |
| | | panelControl1.TabIndex = 3; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = assetsPipeMainMgrViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(3, 4, 3, 4); |
| | | gridControl1.Location = new Point(0, 1); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Margin = new Padding(3, 4, 3, 4); |
| | | gridControl1.MenuManager = ribbonControl1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); |
| | | gridControl1.Size = new Size(1107, 566); |
| | | gridControl1.Size = new Size(1265, 701); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | // |
| | | behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colKeyWords, colFlags, colTagName, colSortCode, colDescription, colDetail, colMaterial, colCaliber, colHazen }); |
| | | gridView1.DetailHeight = 450; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsEditForm.PopupEditFormWidth = 914; |
| | | // |
| | | // colID |
| | | // |
| | | colID.FieldName = "ID"; |
| | | colID.MaxWidth = 100; |
| | | colID.MinWidth = 150; |
| | | colID.MaxWidth = 114; |
| | | colID.MinWidth = 171; |
| | | colID.Name = "colID"; |
| | | colID.Width = 100; |
| | | colID.Width = 114; |
| | | // |
| | | // colName |
| | | // |
| | | colName.FieldName = "Name"; |
| | | colName.MaxWidth = 100; |
| | | colName.MinWidth = 150; |
| | | colName.MinWidth = 19; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 150; |
| | | colName.Width = 241; |
| | | // |
| | | // colKeyWords |
| | | // |
| | | colKeyWords.FieldName = "KeyWords"; |
| | | colKeyWords.MinWidth = 100; |
| | | colKeyWords.MinWidth = 114; |
| | | colKeyWords.Name = "colKeyWords"; |
| | | colKeyWords.Visible = true; |
| | | colKeyWords.VisibleIndex = 4; |
| | | colKeyWords.Width = 100; |
| | | colKeyWords.Width = 118; |
| | | // |
| | | // colFlags |
| | | // |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.MinWidth = 100; |
| | | colFlags.MinWidth = 114; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 5; |
| | | colFlags.Width = 100; |
| | | colFlags.Width = 118; |
| | | // |
| | | // colTagName |
| | | // |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.MinWidth = 100; |
| | | colTagName.MinWidth = 114; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 6; |
| | | colTagName.Width = 100; |
| | | colTagName.Width = 118; |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.MaxWidth = 100; |
| | | colSortCode.MinWidth = 100; |
| | | colSortCode.MaxWidth = 114; |
| | | colSortCode.MinWidth = 114; |
| | | colSortCode.Name = "colSortCode"; |
| | | colSortCode.Width = 100; |
| | | colSortCode.Width = 114; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.MinWidth = 114; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.Width = 100; |
| | | colDescription.Width = 131; |
| | | // |
| | | // colDetail |
| | | // |
| | | colDetail.Caption = "详细信息"; |
| | | colDetail.ColumnEdit = repositoryItemButtonEdit1; |
| | | colDetail.MaxWidth = 60; |
| | | colDetail.MinWidth = 60; |
| | | colDetail.MaxWidth = 69; |
| | | colDetail.MinWidth = 69; |
| | | colDetail.Name = "colDetail"; |
| | | colDetail.Visible = true; |
| | | colDetail.VisibleIndex = 8; |
| | | colDetail.Width = 60; |
| | | colDetail.Width = 69; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.MinWidth = 23; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | colMaterial.Width = 86; |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.MinWidth = 23; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | colCaliber.Width = 94; |
| | | // |
| | | // colHazen |
| | | // |
| | | colHazen.FieldName = "Hazen"; |
| | | colHazen.MinWidth = 23; |
| | | colHazen.Name = "colHazen"; |
| | | colHazen.Visible = true; |
| | | colHazen.VisibleIndex = 3; |
| | | colHazen.Width = 86; |
| | | // |
| | | // dragDropEvents1 |
| | | // |
| | |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleDimensions = new SizeF(8F, 18F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(panelControl1); |
| | | Controls.Add(ribbonControl1); |
| | | Margin = new Padding(3, 5, 3, 5); |
| | | Name = "AssetsPipeMainMgrPage"; |
| | | Padding = new Padding(1); |
| | | Size = new Size(1109, 670); |
| | | Size = new Size(1267, 861); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)panelControl1).EndInit(); |
| | | panelControl1.ResumeLayout(false); |