| | |
| | | colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMatchingMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMatchingType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMatchingSatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)threeLinkFormViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCode, colModelType, colMaterial, colMatchingMaterial, colCaliber, colMatchingCaliber, colDbLocked, colMinorLoss, colMatchingMinorLoss, colMatchingType }); |
| | | gridView1.BorderStyle = BorderStyles.NoBorder; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCode, colModelType, colMaterial, colMatchingMaterial, colCaliber, colMatchingCaliber, colDbLocked, colMinorLoss, colMatchingMinorLoss, colMatchingSatus }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | |
| | | colMatchingMinorLoss.Visible = true; |
| | | colMatchingMinorLoss.VisibleIndex = 8; |
| | | // |
| | | // colMatchingType |
| | | // colMatchingSatus |
| | | // |
| | | colMatchingType.FieldName = "MatchingType"; |
| | | colMatchingType.Name = "colMatchingType"; |
| | | colMatchingType.Visible = true; |
| | | colMatchingType.VisibleIndex = 9; |
| | | colMatchingSatus.FieldName = "MatchingSatus"; |
| | | colMatchingSatus.Name = "colMatchingSatus"; |
| | | colMatchingSatus.Visible = true; |
| | | colMatchingSatus.VisibleIndex = 9; |
| | | // |
| | | // ThreeLinkMatchingCtrl |
| | | // XhsProjectSimulationThreelinkMatchingListCtrl |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Name = "ThreeLinkMatchingCtrl"; |
| | | Name = "XhsProjectSimulationThreelinkMatchingListCtrl"; |
| | | Size = new Size(1035, 503); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)threeLinkFormViewModelBindingSource).EndInit(); |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMatchingMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMatchingType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMatchingSatus; |
| | | } |
| | | } |