| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(EditAssetsPackageMainDlg)); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | pumpAccountViewModelBindingSource = new BindingSource(components); |
| | |
| | | // |
| | | gridControl1.DataSource = pumpAccountViewModelBindingSource; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(3, 5, 3, 5); |
| | | gridControl1.Location = new Point(9, 71); |
| | | gridControl1.Location = new Point(9, 66); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Margin = new Padding(3, 4, 3, 4); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemTreeListLookUpEdit1, repositoryItemButtonEdit1 }); |
| | | gridControl1.Size = new Size(760, 171); |
| | | gridControl1.Size = new Size(760, 174); |
| | | gridControl1.TabIndex = 5; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | colPumpID.Name = "colPumpID"; |
| | | colPumpID.Visible = true; |
| | | colPumpID.VisibleIndex = 0; |
| | | colPumpID.Width = 683; |
| | | colPumpID.Width = 815; |
| | | // |
| | | // repositoryItemTreeListLookUpEdit1 |
| | | // |
| | |
| | | ColDelete.OptionsColumn.AllowEdit = false; |
| | | ColDelete.Visible = true; |
| | | ColDelete.VisibleIndex = 1; |
| | | ColDelete.Width = 152; |
| | | ColDelete.Width = 112; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | |
| | | // |
| | | BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | BtnOk.Appearance.Options.UseBackColor = true; |
| | | BtnOk.Location = new Point(565, 582); |
| | | BtnOk.Location = new Point(565, 583); |
| | | BtnOk.Margin = new Padding(3, 4, 3, 4); |
| | | BtnOk.Name = "BtnOk"; |
| | | BtnOk.Size = new Size(102, 27); |
| | |
| | | simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | simpleButton1.Appearance.Options.UseBackColor = true; |
| | | simpleButton1.DialogResult = DialogResult.Cancel; |
| | | simpleButton1.Location = new Point(671, 582); |
| | | simpleButton1.Location = new Point(671, 583); |
| | | simpleButton1.Margin = new Padding(3, 4, 3, 4); |
| | | simpleButton1.Name = "simpleButton1"; |
| | | simpleButton1.Size = new Size(98, 27); |
| | |
| | | // |
| | | // textEditName |
| | | // |
| | | textEditName.Location = new Point(88, 11); |
| | | textEditName.Location = new Point(86, 10); |
| | | textEditName.Margin = new Padding(3, 4, 3, 4); |
| | | textEditName.Name = "textEditName"; |
| | | textEditName.Size = new Size(298, 24); |
| | | textEditName.Size = new Size(300, 24); |
| | | textEditName.StyleController = layoutControl1; |
| | | textEditName.TabIndex = 0; |
| | | // |
| | | // textEditDescription |
| | | // |
| | | textEditDescription.Location = new Point(22, 290); |
| | | textEditDescription.Location = new Point(21, 282); |
| | | textEditDescription.Margin = new Padding(3, 4, 3, 4); |
| | | textEditDescription.Name = "textEditDescription"; |
| | | textEditDescription.Size = new Size(734, 270); |
| | | textEditDescription.Size = new Size(736, 285); |
| | | textEditDescription.StyleController = layoutControl1; |
| | | textEditDescription.TabIndex = 6; |
| | | // |
| | | // textEditNo |
| | | // |
| | | textEditNo.Location = new Point(469, 11); |
| | | textEditNo.Location = new Point(467, 10); |
| | | textEditNo.Margin = new Padding(3, 4, 3, 4); |
| | | textEditNo.Name = "textEditNo"; |
| | | textEditNo.Size = new Size(300, 24); |
| | | textEditNo.Size = new Size(302, 24); |
| | | textEditNo.StyleController = layoutControl1; |
| | | textEditNo.TabIndex = 2; |
| | | // |
| | | // textEditCatalog |
| | | // |
| | | textEditCatalog.Location = new Point(88, 41); |
| | | textEditCatalog.Location = new Point(86, 38); |
| | | textEditCatalog.Margin = new Padding(3, 4, 3, 4); |
| | | textEditCatalog.Name = "textEditCatalog"; |
| | | textEditCatalog.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | textEditCatalog.Size = new Size(298, 24); |
| | | textEditCatalog.Size = new Size(300, 24); |
| | | textEditCatalog.StyleController = layoutControl1; |
| | | textEditCatalog.TabIndex = 3; |
| | | // |
| | | // textEditUseCount |
| | | // |
| | | textEditUseCount.Location = new Point(469, 41); |
| | | textEditUseCount.Location = new Point(467, 38); |
| | | textEditUseCount.Margin = new Padding(3, 4, 3, 4); |
| | | textEditUseCount.Name = "textEditUseCount"; |
| | | textEditUseCount.Size = new Size(300, 24); |
| | | textEditUseCount.Size = new Size(302, 24); |
| | | textEditUseCount.StyleController = layoutControl1; |
| | | textEditUseCount.TabIndex = 4; |
| | | // |
| | |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = BtnOk; |
| | | layoutControlItem4.Location = new Point(556, 571); |
| | | layoutControlItem4.Location = new Point(556, 573); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(106, 33); |
| | | layoutControlItem4.Size = new Size(106, 31); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 571); |
| | | emptySpaceItem1.Location = new Point(0, 573); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(556, 33); |
| | | emptySpaceItem1.Size = new Size(556, 31); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = simpleButton1; |
| | | layoutControlItem8.Location = new Point(662, 571); |
| | | layoutControlItem8.Location = new Point(662, 573); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(102, 33); |
| | | layoutControlItem8.Size = new Size(102, 31); |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | |
| | | layoutControlItem1.Control = textEditName; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(381, 30); |
| | | layoutControlItem1.Size = new Size(381, 28); |
| | | layoutControlItem1.Text = "<color=red>*</color>名称:"; |
| | | layoutControlItem1.TextSize = new Size(65, 18); |
| | | // |
| | |
| | | layoutControlGroup5.AppearanceGroup.FontSizeDelta = 1; |
| | | layoutControlGroup5.AppearanceGroup.Options.UseFont = true; |
| | | layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem5 }); |
| | | layoutControlGroup5.Location = new Point(0, 237); |
| | | layoutControlGroup5.Location = new Point(0, 234); |
| | | layoutControlGroup5.Name = "layoutControlGroup5"; |
| | | layoutControlGroup5.Size = new Size(764, 334); |
| | | layoutControlGroup5.Size = new Size(764, 339); |
| | | layoutControlGroup5.Text = "说明"; |
| | | // |
| | | // layoutControlItem5 |
| | |
| | | layoutControlItem5.Control = textEditDescription; |
| | | layoutControlItem5.Location = new Point(0, 0); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(738, 276); |
| | | layoutControlItem5.Size = new Size(740, 289); |
| | | layoutControlItem5.Text = "说明:"; |
| | | layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | |
| | | layoutControlItem2.Control = textEditNo; |
| | | layoutControlItem2.Location = new Point(381, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(383, 30); |
| | | layoutControlItem2.Size = new Size(383, 28); |
| | | layoutControlItem2.Text = "编号:"; |
| | | layoutControlItem2.TextSize = new Size(65, 18); |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = textEditCatalog; |
| | | layoutControlItem7.Location = new Point(0, 30); |
| | | layoutControlItem7.Location = new Point(0, 28); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(381, 30); |
| | | layoutControlItem7.Size = new Size(381, 28); |
| | | layoutControlItem7.Text = "分类:"; |
| | | layoutControlItem7.TextSize = new Size(65, 18); |
| | | // |
| | | // layoutControlItem9 |
| | | // |
| | | layoutControlItem9.Control = gridControl1; |
| | | layoutControlItem9.Location = new Point(0, 60); |
| | | layoutControlItem9.Location = new Point(0, 56); |
| | | layoutControlItem9.Name = "layoutControlItem9"; |
| | | layoutControlItem9.Size = new Size(764, 177); |
| | | layoutControlItem9.Size = new Size(764, 178); |
| | | layoutControlItem9.TextSize = new Size(0, 0); |
| | | layoutControlItem9.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = textEditUseCount; |
| | | layoutControlItem3.Location = new Point(381, 30); |
| | | layoutControlItem3.Location = new Point(381, 28); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(383, 30); |
| | | layoutControlItem3.Size = new Size(383, 28); |
| | | layoutControlItem3.Text = "使用数量:"; |
| | | layoutControlItem3.TextSize = new Size(65, 18); |
| | | // |