| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule(); |
| | | FormatConditionRule2ColorScale formatConditionRule2ColorScale1 = new FormatConditionRule2ColorScale(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | xhsProjectSimulationAnalysisViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationAnalysisViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // gridControl1 |
| | |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription, colCode, colType }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // xhsProjectSimulationAnalysisViewModelBindingSource |
| | | // |
| | | xhsProjectSimulationAnalysisViewModelBindingSource.DataSource = typeof(XhsProjectSimulationAnalysisViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription, colCode, colType }); |
| | | gridFormatRule1.Name = "Format0"; |
| | | gridFormatRule1.Rule = formatConditionRule2ColorScale1; |
| | | gridView1.FormatRules.Add(gridFormatRule1); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | gridView1.CustomDrawCell += gridView1_CustomDrawCell; |
| | | // |
| | | // colName |
| | | // |
| | |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 239; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 1; |
| | | colDescription.VisibleIndex = 3; |
| | | colDescription.Width = 491; |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.FieldName = "Code"; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 2; |
| | | colCode.VisibleIndex = 1; |
| | | colCode.Width = 134; |
| | | // |
| | | // colType |
| | | // |
| | | colType.FieldName = "Type"; |
| | | colType.Name = "colType"; |
| | | colType.Visible = true; |
| | | colType.VisibleIndex = 3; |
| | | colType.VisibleIndex = 2; |
| | | colType.Width = 92; |
| | | // |
| | | // XhsProjectSimulationAnalysisCtrl |
| | | // |
| | |
| | | Name = "XhsProjectSimulationAnalysisCtrl"; |
| | | Size = new Size(890, 581); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationAnalysisViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |