| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | searchControl1 = new SearchControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | xhsProjectSimulationSearchViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colCatalog = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colHasDbId = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | searchControl1 = new SearchControl(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)searchControl1.Properties).BeginInit(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationSearchViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)searchControl1.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(661, 483); |
| | | layoutControl1.Size = new Size(840, 398); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // searchControl1 |
| | | // |
| | | searchControl1.Location = new Point(2, 2); |
| | | searchControl1.Name = "searchControl1"; |
| | | searchControl1.Properties.Buttons.AddRange(new EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() }); |
| | | searchControl1.Size = new Size(836, 20); |
| | | searchControl1.StyleController = layoutControl1; |
| | | searchControl1.TabIndex = 5; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.Location = new Point(12, 36); |
| | | gridControl1.DataSource = xhsProjectSimulationSearchViewModelBindingSource; |
| | | gridControl1.Location = new Point(2, 23); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(637, 435); |
| | | gridControl1.Size = new Size(836, 373); |
| | | gridControl1.TabIndex = 4; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // xhsProjectSimulationSearchViewModelBindingSource |
| | | // |
| | | xhsProjectSimulationSearchViewModelBindingSource.DataSource = typeof(XhsProjectSimulationSearchViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCatalog, colCode, colName, colModelType, colFlagsString, colHasDbId, colDbLocked, colDescription }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowClick += gridView1_RowClick; |
| | | // |
| | | // colCatalog |
| | | // |
| | | colCatalog.FieldName = "Catalog"; |
| | | colCatalog.MaxWidth = 100; |
| | | colCatalog.MinWidth = 100; |
| | | colCatalog.Name = "colCatalog"; |
| | | colCatalog.Visible = true; |
| | | colCatalog.VisibleIndex = 0; |
| | | colCatalog.Width = 100; |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.FieldName = "Code"; |
| | | colCode.MaxWidth = 150; |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 1; |
| | | colCode.Width = 100; |
| | | // |
| | | // colName |
| | | // |
| | | colName.FieldName = "Name"; |
| | | colName.MaxWidth = 150; |
| | | colName.MinWidth = 100; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 2; |
| | | colName.Width = 100; |
| | | // |
| | | // colModelType |
| | | // |
| | | colModelType.FieldName = "ModelType"; |
| | | colModelType.MaxWidth = 250; |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colFlagsString |
| | | // |
| | | colFlagsString.FieldName = "FlagsString"; |
| | | colFlagsString.MaxWidth = 150; |
| | | colFlagsString.MinWidth = 100; |
| | | colFlagsString.Name = "colFlagsString"; |
| | | colFlagsString.Visible = true; |
| | | colFlagsString.VisibleIndex = 4; |
| | | colFlagsString.Width = 100; |
| | | // |
| | | // colHasDbId |
| | | // |
| | | colHasDbId.FieldName = "HasDbId"; |
| | | colHasDbId.MaxWidth = 60; |
| | | colHasDbId.MinWidth = 60; |
| | | colHasDbId.Name = "colHasDbId"; |
| | | colHasDbId.Visible = true; |
| | | colHasDbId.VisibleIndex = 5; |
| | | colHasDbId.Width = 60; |
| | | // |
| | | // colDbLocked |
| | | // |
| | | colDbLocked.FieldName = "DbLocked"; |
| | | colDbLocked.MaxWidth = 60; |
| | | colDbLocked.MinWidth = 60; |
| | | colDbLocked.Name = "colDbLocked"; |
| | | colDbLocked.Visible = true; |
| | | colDbLocked.VisibleIndex = 6; |
| | | colDbLocked.Width = 60; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.Width = 100; |
| | | // |
| | | // Root |
| | | // |
| | |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(661, 483); |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(840, 398); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = gridControl1; |
| | | layoutControlItem1.Location = new Point(0, 24); |
| | | layoutControlItem1.Location = new Point(0, 22); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(641, 439); |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 1, 2); |
| | | layoutControlItem1.Size = new Size(840, 376); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // searchControl1 |
| | | // |
| | | searchControl1.Location = new Point(129, 12); |
| | | searchControl1.Name = "searchControl1"; |
| | | searchControl1.Properties.Buttons.AddRange(new EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() }); |
| | | searchControl1.Size = new Size(520, 20); |
| | | searchControl1.StyleController = layoutControl1; |
| | | searchControl1.TabIndex = 5; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = searchControl1; |
| | | layoutControlItem2.Location = new Point(0, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(641, 24); |
| | | layoutControlItem2.TextSize = new Size(105, 14); |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 0); |
| | | layoutControlItem2.Size = new Size(840, 22); |
| | | layoutControlItem2.Text = "查询:"; |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // XhsProjectSimulationSearchCtrl |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Name = "XhsProjectSimulationSearchCtrl"; |
| | | Size = new Size(661, 483); |
| | | Size = new Size(840, 398); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)searchControl1.Properties).EndInit(); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)xhsProjectSimulationSearchViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)searchControl1.Properties).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private SearchControl searchControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private BindingSource xhsProjectSimulationSearchViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCatalog; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colModelType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colHasDbId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlagsString; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | } |
| | | } |