| | |
| | | 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(); |
| | |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); |
| | | dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); |
| | | colRunThroughMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colBranchThroughMinorLoss = 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 }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colKeyWords, colFlags, colTagName, colSortCode, colDescription, colDetail, colMaterial, colCaliber, colRunThroughMinorLoss, colBranchThroughMinorLoss }); |
| | | 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 = 3; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colKeyWords |
| | | // |
| | | colKeyWords.FieldName = "KeyWords"; |
| | | colKeyWords.MinWidth = 100; |
| | | colKeyWords.Name = "colKeyWords"; |
| | | colKeyWords.Visible = true; |
| | | colKeyWords.VisibleIndex = 4; |
| | | colKeyWords.VisibleIndex = 5; |
| | | colKeyWords.Width = 100; |
| | | // |
| | | // colFlags |
| | |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 5; |
| | | colFlags.VisibleIndex = 6; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colTagName |
| | |
| | | colTagName.MinWidth = 100; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 6; |
| | | colTagName.VisibleIndex = 7; |
| | | colTagName.Width = 100; |
| | | // |
| | | // colSortCode |
| | |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.VisibleIndex = 8; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colDetail |
| | |
| | | colDetail.MinWidth = 60; |
| | | colDetail.Name = "colDetail"; |
| | | colDetail.Visible = true; |
| | | colDetail.VisibleIndex = 8; |
| | | colDetail.VisibleIndex = 9; |
| | | colDetail.Width = 60; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | |
| | | // dragDropEvents1 |
| | | // |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // colRunThroughMinorLoss |
| | | // |
| | | colRunThroughMinorLoss.FieldName = "RunThroughMinorLoss"; |
| | | colRunThroughMinorLoss.Name = "colRunThroughMinorLoss"; |
| | | colRunThroughMinorLoss.Visible = true; |
| | | colRunThroughMinorLoss.VisibleIndex = 3; |
| | | // |
| | | // colBranchThroughMinorLoss |
| | | // |
| | | colBranchThroughMinorLoss.FieldName = "BranchThroughMinorLoss"; |
| | | colBranchThroughMinorLoss.Name = "colBranchThroughMinorLoss"; |
| | | colBranchThroughMinorLoss.Visible = true; |
| | | colBranchThroughMinorLoss.VisibleIndex = 4; |
| | | // |
| | | // AssetsThreelinkMainMgrPage |
| | | // |
| | |
| | | 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 assetsThreelinkMainMgrViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRunThroughMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBranchThroughMinorLoss; |
| | | } |
| | | } |