| | |
| | | ribPageGroupForMore = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | panelControl1 = new DevExpress.XtraEditors.PanelControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | assetsBluntheadFactorMgrViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colID = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); |
| | | dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); |
| | | assetsBluntheadFactorMgrViewModelBindingSource = new BindingSource(components); |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)panelControl1).BeginInit(); |
| | | panelControl1.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)assetsBluntheadFactorMgrViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); |
| | | ((ISupportInitialize)behaviorManager1).BeginInit(); |
| | | ((ISupportInitialize)assetsBluntheadFactorMgrViewModelBindingSource).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | |
| | | ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
| | | ribbonControl1.ShowToolbarCustomizeItem = false; |
| | | ribbonControl1.Size = new Size(996, 128); |
| | | ribbonControl1.Size = new Size(996, 101); |
| | | ribbonControl1.Toolbar.ShowCustomizeItem = false; |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | |
| | | panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | panelControl1.Controls.Add(gridControl1); |
| | | panelControl1.Dock = DockStyle.Fill; |
| | | panelControl1.Location = new Point(1, 129); |
| | | panelControl1.Location = new Point(1, 102); |
| | | panelControl1.Name = "panelControl1"; |
| | | panelControl1.Padding = new Padding(0, 1, 0, 0); |
| | | panelControl1.Size = new Size(996, 540); |
| | | panelControl1.Size = new Size(996, 567); |
| | | panelControl1.TabIndex = 3; |
| | | // |
| | | // gridControl1 |
| | |
| | | gridControl1.MenuManager = ribbonControl1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); |
| | | gridControl1.Size = new Size(996, 539); |
| | | gridControl1.Size = new Size(996, 566); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // assetsBluntheadFactorMgrViewModelBindingSource |
| | | // |
| | | assetsBluntheadFactorMgrViewModelBindingSource.DataSource = typeof(AssetsBluntheadFactorMgrViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colMinorLoss, colSortCode, colDescription, colDetail }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colMinorLoss, colSortCode, colDescription, colDetail, colCaliber, colMaterial }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowCellClick += gridView1_RowCellClick; |
| | |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 1; |
| | | colMinorLoss.VisibleIndex = 3; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colSortCode |
| | |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 2; |
| | | colDescription.VisibleIndex = 4; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colDetail |
| | |
| | | colDetail.MinWidth = 60; |
| | | colDetail.Name = "colDetail"; |
| | | colDetail.Visible = true; |
| | | colDetail.VisibleIndex = 3; |
| | | colDetail.VisibleIndex = 5; |
| | | colDetail.Width = 60; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | |
| | | // |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // assetsBluntheadFactorMgrViewModelBindingSource |
| | | // colCaliber |
| | | // |
| | | assetsBluntheadFactorMgrViewModelBindingSource.DataSource = typeof(AssetsBluntheadFactorMgrViewModel); |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 2; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 1; |
| | | // |
| | | // AssetsBluntheadFactorMgrPage |
| | | // |
| | |
| | | ((ISupportInitialize)panelControl1).EndInit(); |
| | | panelControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)assetsBluntheadFactorMgrViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); |
| | | ((ISupportInitialize)behaviorManager1).EndInit(); |
| | | ((ISupportInitialize)assetsBluntheadFactorMgrViewModelBindingSource).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private BindingSource assetsBluntheadFactorMgrViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | } |
| | | } |