| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.Utils.SuperToolTip superToolTip8 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem8 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip6 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem6 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip7 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem7 = new DevExpress.Utils.ToolTipItem(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroVisualPropertyCtrl)); |
| | | DevExpress.Utils.SuperToolTip superToolTip5 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipTitleItem toolTipTitleItem2 = new DevExpress.Utils.ToolTipTitleItem(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem5 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip3 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem3 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip4 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem4 = new DevExpress.Utils.ToolTipItem(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | hydroVisualPropertyDescriptionCtrl1 = new HydroVisualPropertyDescriptionCtrl(); |
| | | propertyGridControl1 = new DevExpress.XtraVerticalGrid.PropertyGridControl(); |
| | |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(567, 190, 714, 577); |
| | | layoutControl1.Root = layoutControlGroup1; |
| | | layoutControl1.Size = new Size(260, 602); |
| | | layoutControl1.Size = new Size(226, 602); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | // |
| | | hydroVisualPropertyDescriptionCtrl1.Location = new Point(2, 502); |
| | | hydroVisualPropertyDescriptionCtrl1.Name = "hydroVisualPropertyDescriptionCtrl1"; |
| | | hydroVisualPropertyDescriptionCtrl1.Size = new Size(256, 98); |
| | | hydroVisualPropertyDescriptionCtrl1.Size = new Size(222, 98); |
| | | hydroVisualPropertyDescriptionCtrl1.TabIndex = 5; |
| | | // |
| | | // propertyGridControl1 |
| | |
| | | propertyGridControl1.OptionsView.ShowRootLevelIndent = false; |
| | | propertyGridControl1.RecordWidth = 120; |
| | | propertyGridControl1.RowHeaderWidth = 80; |
| | | propertyGridControl1.Size = new Size(256, 490); |
| | | propertyGridControl1.Size = new Size(222, 490); |
| | | propertyGridControl1.TabIndex = 4; |
| | | propertyGridControl1.FocusedRowChanged += propertyGridControl1_FocusedRowChanged; |
| | | propertyGridControl1.CustomRecordCellEdit += propertyGridControl1_CustomRecordCellEdit; |
| | |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutProperty, layoutDescription, splitterItem1 }); |
| | | layoutControlGroup1.Name = "Root"; |
| | | layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlGroup1.Size = new Size(260, 602); |
| | | layoutControlGroup1.Size = new Size(226, 602); |
| | | layoutControlGroup1.TextVisible = false; |
| | | // |
| | | // layoutProperty |
| | |
| | | layoutProperty.Location = new Point(0, 0); |
| | | layoutProperty.Name = "layoutProperty"; |
| | | layoutProperty.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 0); |
| | | layoutProperty.Size = new Size(260, 492); |
| | | layoutProperty.Size = new Size(226, 492); |
| | | layoutProperty.TextSize = new Size(0, 0); |
| | | layoutProperty.TextVisible = false; |
| | | // |
| | |
| | | layoutDescription.Location = new Point(0, 502); |
| | | layoutDescription.Name = "layoutDescription"; |
| | | layoutDescription.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); |
| | | layoutDescription.Size = new Size(260, 100); |
| | | layoutDescription.Size = new Size(226, 100); |
| | | layoutDescription.TextSize = new Size(0, 0); |
| | | layoutDescription.TextVisible = false; |
| | | // |
| | |
| | | splitterItem1.AllowHotTrack = true; |
| | | splitterItem1.Location = new Point(0, 492); |
| | | splitterItem1.Name = "splitterItem1"; |
| | | splitterItem1.Size = new Size(260, 10); |
| | | splitterItem1.Size = new Size(226, 10); |
| | | // |
| | | // barManager1 |
| | | // |
| | |
| | | barManager1.DockControls.Add(barDockControlRight); |
| | | barManager1.Form = this; |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnHelp, barBtnExpandAll, barBtnCollpseAll, barBtnChangeLink, barBtnView, barBtnMatchingDb }); |
| | | barManager1.MaxItemId = 19; |
| | | barManager1.MaxItemId = 22; |
| | | // |
| | | // bar1 |
| | | // |
| | |
| | | // |
| | | barBtnMatchingDb.Caption = "选择"; |
| | | barBtnMatchingDb.Id = 18; |
| | | barBtnMatchingDb.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDb.ImageOptions.SvgImage"); |
| | | barBtnMatchingDb.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnMatchingDb.ImageOptions.SvgImage"); |
| | | barBtnMatchingDb.Name = "barBtnMatchingDb"; |
| | | toolTipItem8.Text = "从产品库中进行选择"; |
| | | superToolTip8.Items.Add(toolTipItem8); |
| | | barBtnMatchingDb.SuperTip = superToolTip8; |
| | | toolTipItem1.Text = "从产品库中进行选择"; |
| | | superToolTip1.Items.Add(toolTipItem1); |
| | | barBtnMatchingDb.SuperTip = superToolTip1; |
| | | barBtnMatchingDb.ItemClick += barBtnMatchingDb_ItemClick; |
| | | // |
| | | // barBtnChangeLink |
| | |
| | | barBtnChangeLink.Id = 16; |
| | | barBtnChangeLink.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnChangeLink.ImageOptions.SvgImage"); |
| | | barBtnChangeLink.Name = "barBtnChangeLink"; |
| | | toolTipItem6.Text = "调整上下游"; |
| | | superToolTip6.Items.Add(toolTipItem6); |
| | | barBtnChangeLink.SuperTip = superToolTip6; |
| | | toolTipItem2.Text = "调整上下游"; |
| | | superToolTip2.Items.Add(toolTipItem2); |
| | | barBtnChangeLink.SuperTip = superToolTip2; |
| | | barBtnChangeLink.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | barBtnChangeLink.ItemClick += barBtnChangeLink_ItemClick; |
| | | // |
| | |
| | | barBtnView.Id = 17; |
| | | barBtnView.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnView.ImageOptions.SvgImage"); |
| | | barBtnView.Name = "barBtnView"; |
| | | toolTipItem7.Text = "查看"; |
| | | superToolTip7.Items.Add(toolTipItem7); |
| | | barBtnView.SuperTip = superToolTip7; |
| | | toolTipItem3.Text = "查看"; |
| | | superToolTip3.Items.Add(toolTipItem3); |
| | | barBtnView.SuperTip = superToolTip3; |
| | | barBtnView.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | barBtnView.ItemClick += barBtnView_ItemClick; |
| | | // |
| | |
| | | barBtnHelp.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnHelp.ImageOptions.SvgImage"); |
| | | barBtnHelp.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | barBtnHelp.Name = "barBtnHelp"; |
| | | toolTipTitleItem2.Appearance.Image = (Image)resources.GetObject("resource.Image"); |
| | | toolTipTitleItem2.Appearance.Options.UseImage = true; |
| | | toolTipTitleItem2.ImageOptions.Image = (Image)resources.GetObject("resource.Image1"); |
| | | toolTipItem5.LeftIndent = 6; |
| | | toolTipItem5.Text = "描述信息"; |
| | | superToolTip5.Items.Add(toolTipTitleItem2); |
| | | superToolTip5.Items.Add(toolTipItem5); |
| | | barBtnHelp.SuperTip = superToolTip5; |
| | | toolTipTitleItem1.Appearance.Image = (Image)resources.GetObject("resource.Image"); |
| | | toolTipTitleItem1.Appearance.Options.UseImage = true; |
| | | toolTipTitleItem1.ImageOptions.Image = (Image)resources.GetObject("resource.Image1"); |
| | | toolTipItem4.LeftIndent = 6; |
| | | toolTipItem4.Text = "描述信息"; |
| | | superToolTip4.Items.Add(toolTipTitleItem1); |
| | | superToolTip4.Items.Add(toolTipItem4); |
| | | barBtnHelp.SuperTip = superToolTip4; |
| | | barBtnHelp.ItemClick += barBtnHelp_ItemClick; |
| | | // |
| | | // barDockControlTop |
| | |
| | | barDockControlTop.Dock = DockStyle.Top; |
| | | barDockControlTop.Location = new Point(0, 0); |
| | | barDockControlTop.Manager = barManager1; |
| | | barDockControlTop.Size = new Size(260, 28); |
| | | barDockControlTop.Size = new Size(226, 28); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | |
| | | barDockControlBottom.Dock = DockStyle.Bottom; |
| | | barDockControlBottom.Location = new Point(0, 630); |
| | | barDockControlBottom.Manager = barManager1; |
| | | barDockControlBottom.Size = new Size(260, 0); |
| | | barDockControlBottom.Size = new Size(226, 0); |
| | | // |
| | | // barDockControlLeft |
| | | // |
| | |
| | | // |
| | | barDockControlRight.CausesValidation = false; |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(260, 28); |
| | | barDockControlRight.Location = new Point(226, 28); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 602); |
| | | // |
| | |
| | | Controls.Add(barDockControlBottom); |
| | | Controls.Add(barDockControlTop); |
| | | Name = "HydroVisualPropertyCtrl"; |
| | | Size = new Size(260, 630); |
| | | Size = new Size(226, 630); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)propertyGridControl1).EndInit(); |