| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); |
| | | xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); |
| | | xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); |
| | | ((ISupportInitialize)xtraTabControl1).BeginInit(); |
| | | xtraTabControl1.SuspendLayout(); |
| | | components = new Container(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | xhsProjectSimulationHydroCalcuFailedViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMessage = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationHydroCalcuFailedViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // xtraTabControl1 |
| | | // gridControl1 |
| | | // |
| | | xtraTabControl1.Location = new Point(87, 94); |
| | | xtraTabControl1.Name = "xtraTabControl1"; |
| | | xtraTabControl1.SelectedTabPage = xtraTabPage1; |
| | | xtraTabControl1.Size = new Size(300, 300); |
| | | xtraTabControl1.TabIndex = 0; |
| | | xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { xtraTabPage1, xtraTabPage2 }); |
| | | gridControl1.DataSource = xhsProjectSimulationHydroCalcuFailedViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(795, 562); |
| | | gridControl1.TabIndex = 1; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // xtraTabPage1 |
| | | // xhsProjectSimulationHydroCalcuFailedViewModelBindingSource |
| | | // |
| | | xtraTabPage1.Name = "xtraTabPage1"; |
| | | xtraTabPage1.Size = new Size(298, 274); |
| | | xtraTabPage1.Text = "xtraTabPage1"; |
| | | xhsProjectSimulationHydroCalcuFailedViewModelBindingSource.DataSource = typeof(XhsProjectSimulationHydroCalcuFailedViewModel); |
| | | // |
| | | // xtraTabPage2 |
| | | // gridView1 |
| | | // |
| | | xtraTabPage2.Name = "xtraTabPage2"; |
| | | xtraTabPage2.Size = new Size(298, 274); |
| | | xtraTabPage2.Text = "xtraTabPage2"; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colMessage }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.FieldName = "Code"; |
| | | colCode.MaxWidth = 250; |
| | | colCode.MinWidth = 150; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 0; |
| | | colCode.Width = 150; |
| | | // |
| | | // colMessage |
| | | // |
| | | colMessage.FieldName = "Message"; |
| | | colMessage.Name = "colMessage"; |
| | | colMessage.Visible = true; |
| | | colMessage.VisibleIndex = 1; |
| | | // |
| | | // XhsProjectSimulationHydroCalcuFailedCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(xtraTabControl1); |
| | | Controls.Add(gridControl1); |
| | | Name = "XhsProjectSimulationHydroCalcuFailedCtrl"; |
| | | Size = new Size(745, 460); |
| | | ((ISupportInitialize)xtraTabControl1).EndInit(); |
| | | xtraTabControl1.ResumeLayout(false); |
| | | Size = new Size(795, 562); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationHydroCalcuFailedViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraTab.XtraTabControl xtraTabControl1; |
| | | private DevExpress.XtraTab.XtraTabPage xtraTabPage1; |
| | | private DevExpress.XtraTab.XtraTabPage xtraTabPage2; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMessage; |
| | | private BindingSource xhsProjectSimulationHydroCalcuFailedViewModelBindingSource; |
| | | } |
| | | } |