| | |
| | | colMode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFailed = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colReason = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | colSucceed = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)txtFailedItems.Properties).BeginInit(); |
| | |
| | | // |
| | | gridView1.Appearance.ViewCaption.Options.UseTextOptions = true; |
| | | gridView1.Appearance.ViewCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colMode, colType, colCode, colFailed, colReason }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colSucceed, colMode, colType, colCode, colReason }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.ViewCaption = "校验明细"; |
| | |
| | | colMode.MinWidth = 100; |
| | | colMode.Name = "colMode"; |
| | | colMode.Visible = true; |
| | | colMode.VisibleIndex = 0; |
| | | colMode.VisibleIndex = 1; |
| | | colMode.Width = 100; |
| | | // |
| | | // colType |
| | |
| | | colType.MinWidth = 100; |
| | | colType.Name = "colType"; |
| | | colType.Visible = true; |
| | | colType.VisibleIndex = 1; |
| | | colType.VisibleIndex = 2; |
| | | colType.Width = 100; |
| | | // |
| | | // colCode |
| | |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 2; |
| | | colCode.VisibleIndex = 3; |
| | | colCode.Width = 100; |
| | | // |
| | | // colFailed |
| | | // |
| | | colFailed.FieldName = "Failed"; |
| | | colFailed.MaxWidth = 60; |
| | | colFailed.MinWidth = 60; |
| | | colFailed.Name = "colFailed"; |
| | | colFailed.Visible = true; |
| | | colFailed.VisibleIndex = 3; |
| | | colFailed.Width = 60; |
| | | // |
| | | // colReason |
| | | // |
| | |
| | | layoutControlItem7.Text = "检查失败项:"; |
| | | layoutControlItem7.TextSize = new Size(64, 14); |
| | | // |
| | | // colSucceed |
| | | // |
| | | colSucceed.FieldName = "Succeed"; |
| | | colSucceed.MaxWidth = 80; |
| | | colSucceed.MinWidth = 80; |
| | | colSucceed.Name = "colSucceed"; |
| | | colSucceed.Visible = true; |
| | | colSucceed.VisibleIndex = 0; |
| | | colSucceed.Width = 80; |
| | | // |
| | | // HydroCheckResultCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFailed; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colReason; |
| | | private DevExpress.XtraEditors.TextEdit txtType; |
| | | private DevExpress.XtraEditors.TextEdit txtMode; |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSucceed; |
| | | } |
| | | } |