| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | xhsProjectSimulationHydroCheckFailedViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colParterId = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFailType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFailReason = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationHydroCheckFailedViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | xhsProjectSimulationHydroCheckFailedCtrl1 = new XhsProjectSimulationHydroCheckFailedCtrl(); |
| | | SuspendLayout(); |
| | | // |
| | | // gridControl1 |
| | | // xhsProjectSimulationHydroCheckFailedCtrl1 |
| | | // |
| | | gridControl1.DataSource = xhsProjectSimulationHydroCheckFailedViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(883, 468); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // xhsProjectSimulationHydroCheckFailedViewModelBindingSource |
| | | // |
| | | xhsProjectSimulationHydroCheckFailedViewModelBindingSource.DataSource = typeof(XhsProjectSimulationHydroCheckFailedViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colParterId, colFailType, colFailReason }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowClick += gridView1_RowClick; |
| | | // |
| | | // colParterId |
| | | // |
| | | colParterId.FieldName = "ParterId"; |
| | | colParterId.Name = "colParterId"; |
| | | colParterId.Visible = true; |
| | | colParterId.VisibleIndex = 0; |
| | | // |
| | | // colFailType |
| | | // |
| | | colFailType.FieldName = "FailType"; |
| | | colFailType.Name = "colFailType"; |
| | | colFailType.Visible = true; |
| | | colFailType.VisibleIndex = 1; |
| | | // |
| | | // colFailReason |
| | | // |
| | | colFailReason.FieldName = "FailReason"; |
| | | colFailReason.Name = "colFailReason"; |
| | | colFailReason.Visible = true; |
| | | colFailReason.VisibleIndex = 2; |
| | | xhsProjectSimulationHydroCheckFailedCtrl1.Dock = DockStyle.Fill; |
| | | xhsProjectSimulationHydroCheckFailedCtrl1.Location = new Point(0, 0); |
| | | xhsProjectSimulationHydroCheckFailedCtrl1.Name = "xhsProjectSimulationHydroCheckFailedCtrl1"; |
| | | xhsProjectSimulationHydroCheckFailedCtrl1.Size = new Size(883, 468); |
| | | xhsProjectSimulationHydroCheckFailedCtrl1.TabIndex = 0; |
| | | xhsProjectSimulationHydroCheckFailedCtrl1.HydroClickEvent += xhsProjectSimulationHydroCheckFailedCtrl1_HydroClickEvent; |
| | | // |
| | | // XhsProjectSimulationHydroCheckFailedDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(883, 468); |
| | | Controls.Add(gridControl1); |
| | | Controls.Add(xhsProjectSimulationHydroCheckFailedCtrl1); |
| | | Name = "XhsProjectSimulationHydroCheckFailedDlg"; |
| | | Text = "校验失败原因"; |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationHydroCheckFailedViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private BindingSource xhsProjectSimulationHydroCheckFailedViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colParterId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFailType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFailReason; |
| | | private XhsProjectSimulationHydroCheckFailedCtrl xhsProjectSimulationHydroCheckFailedCtrl1; |
| | | } |
| | | } |