diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 6344d24f..f80abf72 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -141,7 +141,6 @@ namespace VEPROMS // // // - this.ribbonControl1.BackgroundStyle.Class = ""; this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonControl1.CaptionVisible = true; this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top; @@ -437,6 +436,7 @@ namespace VEPROMS // this.bottomBar.Controls.Add(this.cmbFont); this.bottomBar.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bottomBar.Font = new System.Drawing.Font("Segoe UI", 9F); this.bottomBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem10, this.bottomProgBar, @@ -449,9 +449,9 @@ namespace VEPROMS this.lblItemID, this.lblResolution, this.btnEditItem}); - this.bottomBar.Location = new System.Drawing.Point(5, 603); + this.bottomBar.Location = new System.Drawing.Point(5, 605); this.bottomBar.Name = "bottomBar"; - this.bottomBar.Size = new System.Drawing.Size(1185, 29); + this.bottomBar.Size = new System.Drawing.Size(1185, 25); this.bottomBar.Stretch = true; this.bottomBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.bottomBar.TabIndex = 1; @@ -464,7 +464,7 @@ namespace VEPROMS this.cmbFont.FormattingEnabled = true; this.cmbFont.Location = new System.Drawing.Point(1013, 0); this.cmbFont.Name = "cmbFont"; - this.cmbFont.Size = new System.Drawing.Size(172, 28); + this.cmbFont.Size = new System.Drawing.Size(172, 23); this.cmbFont.TabIndex = 0; this.cmbFont.SelectedIndexChanged += new System.EventHandler(this.cmbFont_SelectedIndexChanged); // @@ -479,7 +479,6 @@ namespace VEPROMS // // // - this.bottomProgBar.BackStyle.Class = ""; this.bottomProgBar.BackStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.bottomProgBar.ChunkGradientAngle = 0F; this.bottomProgBar.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways; @@ -558,7 +557,7 @@ namespace VEPROMS this.epAnnotations.Expanded = false; this.epAnnotations.ExpandedBounds = new System.Drawing.Rectangle(4, 544, 1187, 202); this.epAnnotations.ExpandOnTitleClick = true; - this.epAnnotations.Location = new System.Drawing.Point(5, 577); + this.epAnnotations.Location = new System.Drawing.Point(5, 579); this.epAnnotations.Name = "epAnnotations"; this.epAnnotations.Size = new System.Drawing.Size(1185, 26); this.epAnnotations.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -591,7 +590,7 @@ namespace VEPROMS this.ctrlAnnotationDetails.CurrentAnnotation = null; this.ctrlAnnotationDetails.Dock = System.Windows.Forms.DockStyle.Fill; this.ctrlAnnotationDetails.Location = new System.Drawing.Point(0, 26); - this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2); + this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.ctrlAnnotationDetails.Name = "ctrlAnnotationDetails"; this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1185, 0); this.ctrlAnnotationDetails.TabIndex = 15; @@ -605,6 +604,7 @@ namespace VEPROMS this.btnAnnoDetailsPushPin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.btnAnnoDetailsPushPin.ColorTable = DevComponents.DotNetBar.eButtonColor.Flat; this.btnAnnoDetailsPushPin.FocusCuesEnabled = false; + this.btnAnnoDetailsPushPin.FocusOnLeftMouseButtonDown = true; this.btnAnnoDetailsPushPin.Image = ((System.Drawing.Image)(resources.GetObject("btnAnnoDetailsPushPin.Image"))); this.btnAnnoDetailsPushPin.Location = new System.Drawing.Point(1130, 1); this.btnAnnoDetailsPushPin.Name = "btnAnnoDetailsPushPin"; @@ -628,7 +628,7 @@ namespace VEPROMS this.epProcedures.ExpandOnTitleClick = true; this.epProcedures.Location = new System.Drawing.Point(5, 57); this.epProcedures.Name = "epProcedures"; - this.epProcedures.Size = new System.Drawing.Size(30, 520); + this.epProcedures.Size = new System.Drawing.Size(30, 522); this.epProcedures.Style.Alignment = System.Drawing.StringAlignment.Center; this.epProcedures.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.epProcedures.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -660,9 +660,9 @@ namespace VEPROMS this.tv.Size = new System.Drawing.Size(30, 508); this.tv.TabIndex = 1; this.tv.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tv_MouseUp); + this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); this.tv.WordSectionDeleted += new Volian.Controls.Library.WordSectionDeletedEvent(this.tv_WordSectionDeleted); this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); - this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); // // infoPanel // @@ -672,11 +672,11 @@ namespace VEPROMS this.infoPanel.Controls.Add(this.infoTabs); this.infoPanel.Dock = System.Windows.Forms.DockStyle.Right; this.infoPanel.Expanded = false; - this.infoPanel.ExpandedBounds = new System.Drawing.Rectangle(927, 57, 230, 537); + this.infoPanel.ExpandedBounds = new System.Drawing.Rectangle(927, 57, 230, 522); this.infoPanel.ExpandOnTitleClick = true; this.infoPanel.Location = new System.Drawing.Point(1127, 57); this.infoPanel.Name = "infoPanel"; - this.infoPanel.Size = new System.Drawing.Size(30, 520); + this.infoPanel.Size = new System.Drawing.Size(30, 522); this.infoPanel.Style.Alignment = System.Drawing.StringAlignment.Center; this.infoPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.infoPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -702,8 +702,8 @@ namespace VEPROMS // this.infoTabs.BackColor = System.Drawing.Color.Transparent; this.infoTabs.CanReorderTabs = true; - this.infoTabs.Controls.Add(this.infotabControlPanelTags); this.infoTabs.Controls.Add(this.tabControlPanel1); + this.infoTabs.Controls.Add(this.infotabControlPanelTags); this.infoTabs.Controls.Add(this.infotabControlPanelTransitions); this.infoTabs.Controls.Add(this.infotabControlPanelRO); this.infoTabs.Dock = System.Windows.Forms.DockStyle.Fill; @@ -711,7 +711,7 @@ namespace VEPROMS this.infoTabs.Name = "infoTabs"; this.infoTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold); this.infoTabs.SelectedTabIndex = 0; - this.infoTabs.Size = new System.Drawing.Size(30, 511); + this.infoTabs.Size = new System.Drawing.Size(30, 496); this.infoTabs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right; this.infoTabs.TabIndex = 1; this.infoTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -730,7 +730,7 @@ namespace VEPROMS this.infotabControlPanelTags.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelTags.Name = "infotabControlPanelTags"; this.infotabControlPanelTags.Padding = new System.Windows.Forms.Padding(1); - this.infotabControlPanelTags.Size = new System.Drawing.Size(3, 511); + this.infotabControlPanelTags.Size = new System.Drawing.Size(203, 496); this.infotabControlPanelTags.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelTags.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelTags.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -748,7 +748,7 @@ namespace VEPROMS this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(1, 1); this.panelEx1.Name = "panelEx1"; - this.panelEx1.Size = new System.Drawing.Size(1, 509); + this.panelEx1.Size = new System.Drawing.Size(201, 494); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.SlateGray; @@ -764,7 +764,7 @@ namespace VEPROMS this.displayTags.Dock = System.Windows.Forms.DockStyle.Top; this.displayTags.IsVisible = false; this.displayTags.Location = new System.Drawing.Point(0, 0); - this.displayTags.Margin = new System.Windows.Forms.Padding(2); + this.displayTags.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.displayTags.MinimumSize = new System.Drawing.Size(100, 630); this.displayTags.MyEditItem = null; this.displayTags.Name = "displayTags"; @@ -787,7 +787,7 @@ namespace VEPROMS this.tabControlPanel1.Location = new System.Drawing.Point(0, 0); this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel1.Size = new System.Drawing.Size(3, 511); + this.tabControlPanel1.Size = new System.Drawing.Size(3, 496); this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -801,7 +801,7 @@ namespace VEPROMS // this.displayHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.displayHistory.Location = new System.Drawing.Point(1, 1); - this.displayHistory.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.displayHistory.Margin = new System.Windows.Forms.Padding(4); this.displayHistory.MyEditItem = null; this.displayHistory.MyItemInfo = null; this.displayHistory.MyProcedureInfo = null; @@ -823,7 +823,7 @@ namespace VEPROMS this.infotabControlPanelTransitions.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelTransitions.Name = "infotabControlPanelTransitions"; this.infotabControlPanelTransitions.Padding = new System.Windows.Forms.Padding(1); - this.infotabControlPanelTransitions.Size = new System.Drawing.Size(3, 511); + this.infotabControlPanelTransitions.Size = new System.Drawing.Size(3, 496); this.infotabControlPanelTransitions.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -845,7 +845,7 @@ namespace VEPROMS this.displayTransition.MyRTB = null; this.displayTransition.Name = "displayTransition"; this.displayTransition.RangeColor = System.Drawing.Color.LightGray; - this.displayTransition.Size = new System.Drawing.Size(1, 509); + this.displayTransition.Size = new System.Drawing.Size(1, 494); this.displayTransition.TabIndex = 0; // // infotabTransition @@ -863,7 +863,7 @@ namespace VEPROMS this.infotabControlPanelRO.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelRO.Name = "infotabControlPanelRO"; this.infotabControlPanelRO.Padding = new System.Windows.Forms.Padding(1); - this.infotabControlPanelRO.Size = new System.Drawing.Size(3, 511); + this.infotabControlPanelRO.Size = new System.Drawing.Size(3, 496); this.infotabControlPanelRO.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelRO.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelRO.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -885,7 +885,7 @@ namespace VEPROMS this.displayRO.Name = "displayRO"; this.displayRO.ProgressBar = null; this.displayRO.ROTypeFilter = VEPROMS.CSLA.Library.E_ROValueType.All; - this.displayRO.Size = new System.Drawing.Size(1, 509); + this.displayRO.Size = new System.Drawing.Size(1, 494); this.displayRO.TabControl = null; this.displayRO.TabIndex = 0; // @@ -940,7 +940,7 @@ namespace VEPROMS this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.Location = new System.Drawing.Point(35, 57); this.expandableSplitter1.Name = "expandableSplitter1"; - this.expandableSplitter1.Size = new System.Drawing.Size(3, 520); + this.expandableSplitter1.Size = new System.Drawing.Size(3, 522); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 5; this.expandableSplitter1.TabStop = false; @@ -972,7 +972,7 @@ namespace VEPROMS this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter2.Location = new System.Drawing.Point(38, 574); + this.expandableSplitter2.Location = new System.Drawing.Point(38, 576); this.expandableSplitter2.Name = "expandableSplitter2"; this.expandableSplitter2.Size = new System.Drawing.Size(1089, 3); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; @@ -1008,7 +1008,7 @@ namespace VEPROMS this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.Location = new System.Drawing.Point(1124, 57); this.expandableSplitter3.Name = "expandableSplitter3"; - this.expandableSplitter3.Size = new System.Drawing.Size(3, 517); + this.expandableSplitter3.Size = new System.Drawing.Size(3, 519); this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter3.TabIndex = 7; this.expandableSplitter3.TabStop = false; @@ -1030,11 +1030,11 @@ namespace VEPROMS this.toolsPanel.Controls.Add(this.toolsTabs); this.toolsPanel.Dock = System.Windows.Forms.DockStyle.Right; this.toolsPanel.Expanded = false; - this.toolsPanel.ExpandedBounds = new System.Drawing.Rectangle(847, 57, 343, 631); + this.toolsPanel.ExpandedBounds = new System.Drawing.Rectangle(847, 57, 343, 522); this.toolsPanel.ExpandOnTitleClick = true; this.toolsPanel.Location = new System.Drawing.Point(1160, 57); this.toolsPanel.Name = "toolsPanel"; - this.toolsPanel.Size = new System.Drawing.Size(30, 520); + this.toolsPanel.Size = new System.Drawing.Size(30, 522); this.toolsPanel.Style.Alignment = System.Drawing.StringAlignment.Center; this.toolsPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.toolsPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -1067,7 +1067,7 @@ namespace VEPROMS this.toolsTabs.Name = "toolsTabs"; this.toolsTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold); this.toolsTabs.SelectedTabIndex = 0; - this.toolsTabs.Size = new System.Drawing.Size(30, 605); + this.toolsTabs.Size = new System.Drawing.Size(30, 496); this.toolsTabs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right; this.toolsTabs.TabIndex = 1; this.toolsTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -1084,7 +1084,7 @@ namespace VEPROMS this.annotationSearch.Location = new System.Drawing.Point(0, 0); this.annotationSearch.Name = "annotationSearch"; this.annotationSearch.Padding = new System.Windows.Forms.Padding(1); - this.annotationSearch.Size = new System.Drawing.Size(3, 605); + this.annotationSearch.Size = new System.Drawing.Size(3, 496); this.annotationSearch.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.annotationSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.annotationSearch.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -1108,7 +1108,7 @@ namespace VEPROMS this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.displaySearch1.SearchResults = null; this.displaySearch1.SearchString = null; - this.displaySearch1.Size = new System.Drawing.Size(1, 603); + this.displaySearch1.Size = new System.Drawing.Size(1, 494); this.displaySearch1.TabIndex = 0; this.displaySearch1.TypesSelected = null; // @@ -1126,7 +1126,7 @@ namespace VEPROMS this.tabControlPanel2.Location = new System.Drawing.Point(0, 0); this.tabControlPanel2.Name = "tabControlPanel2"; this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(3, 605); + this.tabControlPanel2.Size = new System.Drawing.Size(3, 496); this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -1145,7 +1145,7 @@ namespace VEPROMS this.panelEx3.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx3.Location = new System.Drawing.Point(1, 1); this.panelEx3.Name = "panelEx3"; - this.panelEx3.Size = new System.Drawing.Size(1, 603); + this.panelEx3.Size = new System.Drawing.Size(1, 494); this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx3.Style.BackColor2.Color = System.Drawing.Color.SlateGray; @@ -1158,11 +1158,11 @@ namespace VEPROMS // this.displayBookMarks.Dock = System.Windows.Forms.DockStyle.Fill; this.displayBookMarks.Location = new System.Drawing.Point(0, 0); - this.displayBookMarks.Margin = new System.Windows.Forms.Padding(2); + this.displayBookMarks.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.displayBookMarks.MyDisplayTabControl = null; this.displayBookMarks.MyEditItem = null; this.displayBookMarks.Name = "displayBookMarks"; - this.displayBookMarks.Size = new System.Drawing.Size(1, 603); + this.displayBookMarks.Size = new System.Drawing.Size(1, 494); this.displayBookMarks.TabIndex = 0; // // toolsTabBookMarks @@ -1178,7 +1178,7 @@ namespace VEPROMS this.tabControlPanelLD.Location = new System.Drawing.Point(0, 0); this.tabControlPanelLD.Name = "tabControlPanelLD"; this.tabControlPanelLD.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanelLD.Size = new System.Drawing.Size(3, 605); + this.tabControlPanelLD.Size = new System.Drawing.Size(3, 496); this.tabControlPanelLD.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.tabControlPanelLD.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanelLD.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) @@ -1197,7 +1197,7 @@ namespace VEPROMS this.displayLibDocs.Location = new System.Drawing.Point(1, 1); this.displayLibDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.displayLibDocs.Name = "displayLibDocs"; - this.displayLibDocs.Size = new System.Drawing.Size(1, 603); + this.displayLibDocs.Size = new System.Drawing.Size(1, 494); this.displayLibDocs.TabIndex = 0; // // tabItemLibDocs @@ -1237,7 +1237,7 @@ namespace VEPROMS this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter4.Location = new System.Drawing.Point(1157, 57); this.expandableSplitter4.Name = "expandableSplitter4"; - this.expandableSplitter4.Size = new System.Drawing.Size(3, 520); + this.expandableSplitter4.Size = new System.Drawing.Size(3, 522); this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter4.TabIndex = 3; this.expandableSplitter4.TabStop = false; @@ -1258,28 +1258,28 @@ namespace VEPROMS this.tc.Dock = System.Windows.Forms.DockStyle.Fill; this.tc.ForeColor = System.Drawing.SystemColors.ControlText; this.tc.Location = new System.Drawing.Point(38, 57); - this.tc.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tc.Margin = new System.Windows.Forms.Padding(4); this.tc.MyCopyStep = null; this.tc.Name = "tc"; this.tc.RibbonExpanded = true; this.tc.SelectedDisplayTabItem = null; - this.tc.Size = new System.Drawing.Size(1086, 517); + this.tc.Size = new System.Drawing.Size(1086, 519); this.tc.TabIndex = 8; this.tc.PanelTabDisplay += new Volian.Controls.Library.StepPanelTabDisplayEvent(this.tc_PanelTabDisplay); this.tc.WordSectionClose += new Volian.Controls.Library.StepPanelWordSectionCloseEvent(this.tc_WordSectionClose); - this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged); + this.tc.SelectedDisplayTabItemChanged += new Volian.Controls.Library.DisplayTabControlEvent(this.tc_SelectedDisplayTabItemChanged); this.tc.ModeChange += new Volian.Controls.Library.StepPanelModeChangeEvent(this.tc_StepPanelModeChange); this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran); this.tc.WordSectionDeleted += new Volian.Controls.Library.StepPanelWordSectionDeletedEvent(this.tc_WordSectionDeleted); + this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged); this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO); - this.tc.SelectedDisplayTabItemChanged += new Volian.Controls.Library.DisplayTabControlEvent(this.tc_SelectedDisplayTabItemChanged); // // frmVEPROMS // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; - this.ClientSize = new System.Drawing.Size(1195, 634); + this.ClientSize = new System.Drawing.Size(1195, 632); this.Controls.Add(this.tc); this.Controls.Add(this.expandableSplitter3); this.Controls.Add(this.expandableSplitter2); diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 0176417b..53e95f8e 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -412,6 +412,7 @@ namespace VEPROMS SetCaption(tv.SelectedNode as VETreeNode); } displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc); + AnnotationTypeInfoList.ListChanged += new AnnotationTypeInfoListEvent(AnnotationTypeInfoList_ListChanged); ctrlAnnotationDetails.SetupAnnotations(displaySearch1); SetupButtons(); displayBookMarks.MyDisplayTabControl = tc; // allows bookmark selection to bring up steps/docs @@ -426,6 +427,13 @@ namespace VEPROMS ctrlAnnotationDetails.Enter += new EventHandler(ctrlAnnotationDetails_Enter); RunAutomatic(); } + + + void AnnotationTypeInfoList_ListChanged() + { + displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc); + ctrlAnnotationDetails.SetupAnnotations(displaySearch1); + } private void RunAutomatic() { string[] parameters = System.Environment.CommandLine.Split(" ".ToCharArray());