| | |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colID = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colKeyWords = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colHazen = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); |
| | | dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); |
| | | colDarcy = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colHazen = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colManning = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)panelControl1).BeginInit(); |
| | | panelControl1.SuspendLayout(); |
| | |
| | | // 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, colMinorLoss, colKeyWords, colFlags, colTagName, colSortCode, colDescription, colDetail, colMaterial, colCaliber, colDarcy, colHazen, colManning }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colKeyWords, colFlags, colTagName, colSortCode, colDescription, colDetail, colMaterial, colCaliber, colHazen }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | // |
| | |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 150; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.MaxWidth = 100; |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 6; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colKeyWords |
| | | // |
| | | colKeyWords.FieldName = "KeyWords"; |
| | | colKeyWords.MinWidth = 100; |
| | | colKeyWords.Name = "colKeyWords"; |
| | | colKeyWords.Visible = true; |
| | | colKeyWords.VisibleIndex = 7; |
| | | colKeyWords.VisibleIndex = 4; |
| | | colKeyWords.Width = 100; |
| | | // |
| | | // colFlags |
| | |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 8; |
| | | colFlags.VisibleIndex = 5; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colTagName |
| | |
| | | colTagName.MinWidth = 100; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 9; |
| | | colTagName.VisibleIndex = 6; |
| | | colTagName.Width = 100; |
| | | // |
| | | // colSortCode |
| | |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 10; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colDetail |
| | |
| | | colDetail.MinWidth = 60; |
| | | colDetail.Name = "colDetail"; |
| | | colDetail.Visible = true; |
| | | colDetail.VisibleIndex = 11; |
| | | colDetail.VisibleIndex = 8; |
| | | colDetail.Width = 60; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | // |
| | | // dragDropEvents1 |
| | | // |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // colDarcy |
| | | // |
| | | colDarcy.FieldName = "Darcy"; |
| | | colDarcy.Name = "colDarcy"; |
| | | colDarcy.Visible = true; |
| | | colDarcy.VisibleIndex = 3; |
| | | // |
| | | // colHazen |
| | | // |
| | | colHazen.FieldName = "Hazen"; |
| | | colHazen.Name = "colHazen"; |
| | | colHazen.Visible = true; |
| | | colHazen.VisibleIndex = 4; |
| | | colHazen.VisibleIndex = 3; |
| | | // |
| | | // colManning |
| | | // dragDropEvents1 |
| | | // |
| | | colManning.FieldName = "Manning"; |
| | | colManning.Name = "colManning"; |
| | | colManning.Visible = true; |
| | | colManning.VisibleIndex = 5; |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // AssetsPipeMainMgrPage |
| | | // |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colTagName; |
| | | private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1; |
| | | private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private BindingSource assetsPipeMainMgrViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDarcy; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colHazen; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colManning; |
| | | } |
| | | } |