| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCatalog, colCode, colName, colModelType, colFlagsString, colHasDbId, colDbLocked, colDescription }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCatalog, colCode, colName, colModelType, colFlagsString, colHasDbId, colDescription }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowClick += gridView1_RowClick; |
| | |
| | | colCatalog.MinWidth = 100; |
| | | colCatalog.Name = "colCatalog"; |
| | | colCatalog.Visible = true; |
| | | colCatalog.VisibleIndex = 0; |
| | | colCatalog.VisibleIndex = 1; |
| | | colCatalog.Width = 100; |
| | | // |
| | | // colCode |
| | |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 1; |
| | | colCode.VisibleIndex = 2; |
| | | colCode.Width = 100; |
| | | // |
| | | // colName |
| | |
| | | colName.MinWidth = 100; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 2; |
| | | colName.VisibleIndex = 3; |
| | | colName.Width = 100; |
| | | // |
| | | // colModelType |
| | |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.VisibleIndex = 4; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colFlagsString |
| | |
| | | colFlagsString.MinWidth = 100; |
| | | colFlagsString.Name = "colFlagsString"; |
| | | colFlagsString.Visible = true; |
| | | colFlagsString.VisibleIndex = 4; |
| | | colFlagsString.VisibleIndex = 5; |
| | | colFlagsString.Width = 100; |
| | | // |
| | | // colHasDbId |
| | |
| | | colHasDbId.MinWidth = 60; |
| | | colHasDbId.Name = "colHasDbId"; |
| | | colHasDbId.Visible = true; |
| | | colHasDbId.VisibleIndex = 5; |
| | | colHasDbId.VisibleIndex = 6; |
| | | colHasDbId.Width = 60; |
| | | // |
| | | // colDbLocked |
| | |
| | | colDbLocked.MinWidth = 60; |
| | | colDbLocked.Name = "colDbLocked"; |
| | | colDbLocked.Visible = true; |
| | | colDbLocked.VisibleIndex = 6; |
| | | colDbLocked.VisibleIndex = 0; |
| | | colDbLocked.Width = 60; |
| | | // |
| | | // colDescription |