| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | ListBoxPart = new DevExpress.XtraEditors.ListBoxControl(); |
| | | pumpProductListBox1 = new Assets.PumpProductListBox(); |
| | | BtnAddPumpPart = new DevExpress.XtraEditors.SimpleButton(); |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); |
| | |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControAddPart = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | popupPumpPartMenu = new DevExpress.XtraBars.PopupMenu(components); |
| | | BarBtnAddPumpPart = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDeletePart = new DevExpress.XtraBars.BarButtonItem(); |
| | | barManager1 = new DevExpress.XtraBars.BarManager(components); |
| | | barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | |
| | | barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)ListBoxPart).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)propGroupChoiceViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControAddPart).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupPumpPartMenu).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(ListBoxPart); |
| | | layoutControl1.Controls.Add(pumpProductListBox1); |
| | | layoutControl1.Controls.Add(BtnAddPumpPart); |
| | | layoutControl1.Controls.Add(BtnOk); |
| | | layoutControl1.Controls.Add(simpleButton1); |
| | |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // ListBoxPart |
| | | // pumpProductListBox1 |
| | | // |
| | | ListBoxPart.Appearance.Options.UseTextOptions = true; |
| | | ListBoxPart.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | ListBoxPart.AppearanceDisabled.Options.UseTextOptions = true; |
| | | ListBoxPart.AppearanceDisabled.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | ListBoxPart.Location = new Point(12, 12); |
| | | ListBoxPart.Name = "ListBoxPart"; |
| | | ListBoxPart.Size = new Size(187, 512); |
| | | ListBoxPart.StyleController = layoutControl1; |
| | | ListBoxPart.TabIndex = 8; |
| | | ListBoxPart.SelectedIndexChanged += ListBoxPart_SelectedIndexChanged; |
| | | ListBoxPart.MouseUp += ListBoxPart_MouseUp; |
| | | pumpProductListBox1.Location = new Point(12, 12); |
| | | pumpProductListBox1.Name = "pumpProductListBox1"; |
| | | pumpProductListBox1.Size = new Size(163, 512); |
| | | pumpProductListBox1.TabIndex = 9; |
| | | // |
| | | // BtnAddPumpPart |
| | | // |
| | | BtnAddPumpPart.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | BtnAddPumpPart.Appearance.Options.UseBackColor = true; |
| | | BtnAddPumpPart.Location = new Point(737, 502); |
| | | BtnAddPumpPart.Location = new Point(713, 502); |
| | | BtnAddPumpPart.Name = "BtnAddPumpPart"; |
| | | BtnAddPumpPart.Size = new Size(79, 22); |
| | | BtnAddPumpPart.Size = new Size(85, 22); |
| | | BtnAddPumpPart.StyleController = layoutControl1; |
| | | BtnAddPumpPart.TabIndex = 5; |
| | | BtnAddPumpPart.Text = "添加产品"; |
| | |
| | | // |
| | | BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | BtnOk.Appearance.Options.UseBackColor = true; |
| | | BtnOk.Location = new Point(820, 502); |
| | | BtnOk.Location = new Point(802, 502); |
| | | BtnOk.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(86, 22); |
| | | BtnOk.Size = new Size(91, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 4; |
| | | BtnOk.Text = "确认编辑"; |
| | |
| | | simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; |
| | | simpleButton1.Appearance.Options.UseBackColor = true; |
| | | simpleButton1.DialogResult = DialogResult.Cancel; |
| | | simpleButton1.Location = new Point(910, 502); |
| | | simpleButton1.Location = new Point(897, 502); |
| | | simpleButton1.Name = "simpleButton1"; |
| | | simpleButton1.Size = new Size(79, 22); |
| | | simpleButton1.Size = new Size(92, 22); |
| | | simpleButton1.StyleController = layoutControl1; |
| | | simpleButton1.TabIndex = 5; |
| | | simpleButton1.Text = "取消"; |
| | |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = propGroupChoiceViewModelBindingSource; |
| | | gridControl1.Location = new Point(203, 84); |
| | | gridControl1.Location = new Point(179, 84); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(786, 414); |
| | | gridControl1.Size = new Size(810, 414); |
| | | gridControl1.TabIndex = 3; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | // |
| | | // TextEditProductName |
| | | // |
| | | TextEditProductName.Location = new Point(267, 12); |
| | | TextEditProductName.Location = new Point(243, 12); |
| | | TextEditProductName.Name = "TextEditProductName"; |
| | | TextEditProductName.Size = new Size(722, 20); |
| | | TextEditProductName.Size = new Size(746, 20); |
| | | TextEditProductName.StyleController = layoutControl1; |
| | | TextEditProductName.TabIndex = 2; |
| | | // |
| | | // TextEditProductCode |
| | | // |
| | | TextEditProductCode.Location = new Point(267, 36); |
| | | TextEditProductCode.Location = new Point(243, 36); |
| | | TextEditProductCode.Name = "TextEditProductCode"; |
| | | TextEditProductCode.Size = new Size(722, 20); |
| | | TextEditProductCode.Size = new Size(746, 20); |
| | | TextEditProductCode.StyleController = layoutControl1; |
| | | TextEditProductCode.TabIndex = 6; |
| | | // |
| | | // TextEditNo |
| | | // |
| | | TextEditNo.Location = new Point(267, 60); |
| | | TextEditNo.Location = new Point(243, 60); |
| | | TextEditNo.Name = "TextEditNo"; |
| | | TextEditNo.Size = new Size(722, 20); |
| | | TextEditNo.Size = new Size(746, 20); |
| | | TextEditNo.StyleController = layoutControl1; |
| | | TextEditNo.TabIndex = 7; |
| | | // |
| | |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem3, r, layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem2, layoutControAddPart, layoutControlItem4 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem3, r, layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem2, layoutControAddPart, layoutControlItem8 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(1001, 536); |
| | | Root.TextVisible = false; |
| | |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = gridControl1; |
| | | layoutControlItem1.Location = new Point(191, 72); |
| | | layoutControlItem1.Location = new Point(167, 72); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(790, 418); |
| | | layoutControlItem1.Size = new Size(814, 418); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = simpleButton1; |
| | | layoutControlItem3.Location = new Point(898, 490); |
| | | layoutControlItem3.Location = new Point(885, 490); |
| | | layoutControlItem3.MaxSize = new Size(96, 26); |
| | | layoutControlItem3.MinSize = new Size(96, 26); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(83, 26); |
| | | layoutControlItem3.Size = new Size(96, 26); |
| | | layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | | // r |
| | | // |
| | | r.AllowHotTrack = false; |
| | | r.Location = new Point(191, 490); |
| | | r.Location = new Point(167, 490); |
| | | r.Name = "r"; |
| | | r.Size = new Size(534, 26); |
| | | r.TextSize = new Size(0, 0); |
| | |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = TextEditProductName; |
| | | layoutControlItem5.Location = new Point(191, 0); |
| | | layoutControlItem5.Location = new Point(167, 0); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(790, 24); |
| | | layoutControlItem5.Size = new Size(814, 24); |
| | | layoutControlItem5.Text = "产品名称:"; |
| | | layoutControlItem5.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = TextEditProductCode; |
| | | layoutControlItem6.Location = new Point(191, 24); |
| | | layoutControlItem6.Location = new Point(167, 24); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(790, 24); |
| | | layoutControlItem6.Size = new Size(814, 24); |
| | | layoutControlItem6.Text = "产品图号:"; |
| | | layoutControlItem6.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = TextEditNo; |
| | | layoutControlItem7.Location = new Point(191, 48); |
| | | layoutControlItem7.Location = new Point(167, 48); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(790, 24); |
| | | layoutControlItem7.Size = new Size(814, 24); |
| | | layoutControlItem7.Text = "产品编号:"; |
| | | layoutControlItem7.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = BtnOk; |
| | | layoutControlItem2.Location = new Point(808, 490); |
| | | layoutControlItem2.Location = new Point(790, 490); |
| | | layoutControlItem2.MaxSize = new Size(95, 26); |
| | | layoutControlItem2.MinSize = new Size(95, 26); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(90, 26); |
| | | layoutControlItem2.Size = new Size(95, 26); |
| | | layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // layoutControAddPart |
| | | // |
| | | layoutControAddPart.Control = BtnAddPumpPart; |
| | | layoutControAddPart.Location = new Point(725, 490); |
| | | layoutControAddPart.Location = new Point(701, 490); |
| | | layoutControAddPart.MaxSize = new Size(89, 26); |
| | | layoutControAddPart.MinSize = new Size(89, 26); |
| | | layoutControAddPart.Name = "layoutControAddPart"; |
| | | layoutControAddPart.Size = new Size(83, 26); |
| | | layoutControAddPart.Size = new Size(89, 26); |
| | | layoutControAddPart.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControAddPart.TextSize = new Size(0, 0); |
| | | layoutControAddPart.TextVisible = false; |
| | | // |
| | | // layoutControlItem4 |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem4.Control = ListBoxPart; |
| | | layoutControlItem4.Location = new Point(0, 0); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(191, 516); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | layoutControlItem8.Control = pumpProductListBox1; |
| | | layoutControlItem8.Location = new Point(0, 0); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(167, 516); |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | | // popupPumpPartMenu |
| | | // |
| | | popupPumpPartMenu.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(BarBtnAddPumpPart), new DevExpress.XtraBars.LinkPersistInfo(barBtnDeletePart) }); |
| | | popupPumpPartMenu.Manager = barManager1; |
| | | popupPumpPartMenu.Name = "popupPumpPartMenu"; |
| | | // |
| | | // BarBtnAddPumpPart |
| | | // |
| | | BarBtnAddPumpPart.Caption = "添加产品"; |
| | | BarBtnAddPumpPart.Id = 0; |
| | | BarBtnAddPumpPart.Name = "BarBtnAddPumpPart"; |
| | | BarBtnAddPumpPart.ItemClick += BarBtnAddPumpPart_ItemClick; |
| | | // |
| | | // barBtnDeletePart |
| | | // |
| | | barBtnDeletePart.Caption = "删除产品"; |
| | | barBtnDeletePart.Id = 1; |
| | | barBtnDeletePart.Name = "barBtnDeletePart"; |
| | | barBtnDeletePart.ItemClick += BarBtnDeletePart_ItemClick; |
| | | // |
| | | // barManager1 |
| | | // |
| | |
| | | barManager1.DockControls.Add(barDockControlLeft); |
| | | barManager1.DockControls.Add(barDockControlRight); |
| | | barManager1.Form = this; |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { BarBtnAddPumpPart, barBtnDeletePart }); |
| | | barManager1.MaxItemId = 2; |
| | | // |
| | | // barDockControlTop |
| | | // |
| | |
| | | Text = "编辑产品"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)ListBoxPart).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)propGroupChoiceViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControAddPart).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupPumpPartMenu).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); |
| | | ResumeLayout(false); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private BindingSource propGroupChoiceViewModelBindingSource; |
| | | private DevExpress.XtraBars.PopupMenu popupPumpPartMenu; |
| | | private DevExpress.XtraBars.BarButtonItem BarBtnAddPumpPart; |
| | | private DevExpress.XtraEditors.SimpleButton BtnAddPumpPart; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControAddPart; |
| | | private DevExpress.XtraBars.BarManager barManager1; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlTop; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlBottom; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlLeft; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlRight; |
| | | private DevExpress.XtraEditors.SimpleButton BtnAddPumpPart; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControAddPart; |
| | | private DevExpress.XtraEditors.ListBoxControl ListBoxPart; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnDeletePart; |
| | | private Assets.PumpProductListBox pumpProductListBox1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | } |
| | | } |