diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 54022417..c6d030aa 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -72,21 +72,16 @@ namespace VEPROMS this.btnItemInfo = new DevComponents.DotNetBar.ButtonItem(); this.lblItemID = new DevComponents.DotNetBar.LabelItem(); this.epAnnotations = new DevComponents.DotNetBar.ExpandablePanel(); - this.ctrlAnnotationDetails = new Volian.Controls.Library.AnnotationDetails(); this.btnAnnoDetailsPushPin = new DevComponents.DotNetBar.ButtonX(); this.epProcedures = new DevComponents.DotNetBar.ExpandablePanel(); - this.tv = new Volian.Controls.Library.vlnTreeView(); this.infoPanel = new DevComponents.DotNetBar.ExpandablePanel(); this.infoTabs = new DevComponents.DotNetBar.TabControl(); this.infotabControlPanelTags = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); - this.displayTags = new Volian.Controls.Library.DisplayTags(); this.infotabTags = new DevComponents.DotNetBar.TabItem(this.components); this.infotabControlPanelTransitions = new DevComponents.DotNetBar.TabControlPanel(); - this.displayTransition = new Volian.Controls.Library.DisplayTransition(); this.infotabTransition = new DevComponents.DotNetBar.TabItem(this.components); this.infotabControlPanelRO = new DevComponents.DotNetBar.TabControlPanel(); - this.displayRO = new Volian.Controls.Library.DisplayRO(); this.infotabRO = new DevComponents.DotNetBar.TabItem(this.components); this.navigationPanePanel2 = new DevComponents.DotNetBar.NavigationPanePanel(); this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter(); @@ -98,19 +93,24 @@ namespace VEPROMS this.toolsPanel = new DevComponents.DotNetBar.ExpandablePanel(); this.toolsTabs = new DevComponents.DotNetBar.TabControl(); this.annotationSearch = new DevComponents.DotNetBar.TabControlPanel(); - this.displaySearch1 = new Volian.Controls.Library.DisplaySearch(); this.toolstabResults = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); - this.displayBookMarks = new Volian.Controls.Library.DisplayBookMarks(); this.toolsTabBookMarks = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanelLD = new DevComponents.DotNetBar.TabControlPanel(); - this.displayLibDocs = new Volian.Controls.Library.DisplayLibDocs(); this.tabItemLibDocs = new DevComponents.DotNetBar.TabItem(this.components); this.expandableSplitter4 = new DevComponents.DotNetBar.ExpandableSplitter(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.tc = new Volian.Controls.Library.DisplayTabControl(); + this.displayTags = new Volian.Controls.Library.DisplayTags(); + this.displayTransition = new Volian.Controls.Library.DisplayTransition(); + this.displayRO = new Volian.Controls.Library.DisplayRO(); + this.displaySearch1 = new Volian.Controls.Library.DisplaySearch(); + this.displayBookMarks = new Volian.Controls.Library.DisplayBookMarks(); + this.displayLibDocs = new Volian.Controls.Library.DisplayLibDocs(); + this.tv = new Volian.Controls.Library.vlnTreeView(); + this.ctrlAnnotationDetails = new Volian.Controls.Library.AnnotationDetails(); ((System.ComponentModel.ISupportInitialize)(this.bottomBar)).BeginInit(); this.bottomBar.SuspendLayout(); this.epAnnotations.SuspendLayout(); @@ -144,14 +144,14 @@ namespace VEPROMS this.btnHelp}); this.ribbonControl1.KeyTipsEnabled = false; this.ribbonControl1.KeyTipsFont = new System.Drawing.Font("Tahoma", 7F); - this.ribbonControl1.Location = new System.Drawing.Point(4, 1); + this.ribbonControl1.Location = new System.Drawing.Point(5, 1); this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Office2007ColorTable = DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme.Black; this.ribbonControl1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2); this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.office2007StartButton1, this.qatCustomizeItem1}); - this.ribbonControl1.Size = new System.Drawing.Size(1187, 56); + this.ribbonControl1.Size = new System.Drawing.Size(1185, 56); this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.ribbonControl1.TabGroupHeight = 14; this.ribbonControl1.TabIndex = 0; @@ -438,9 +438,9 @@ namespace VEPROMS this.labelItem11, this.btnItemInfo, this.lblItemID}); - this.bottomBar.Location = new System.Drawing.Point(4, 741); + this.bottomBar.Location = new System.Drawing.Point(5, 716); this.bottomBar.Name = "bottomBar"; - this.bottomBar.Size = new System.Drawing.Size(1187, 29); + this.bottomBar.Size = new System.Drawing.Size(1185, 29); this.bottomBar.Stretch = true; this.bottomBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.bottomBar.TabIndex = 1; @@ -448,10 +448,10 @@ namespace VEPROMS this.bottomBar.Text = "bar1"; // // cmbFont - // + // this.cmbFont.Dock = System.Windows.Forms.DockStyle.Right; this.cmbFont.FormattingEnabled = true; - this.cmbFont.Location = new System.Drawing.Point(503, 3); + this.cmbFont.Location = new System.Drawing.Point(1013, 0); this.cmbFont.Name = "cmbFont"; this.cmbFont.Size = new System.Drawing.Size(172, 28); this.cmbFont.TabIndex = 0; @@ -531,9 +531,9 @@ 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(4, 715); + this.epAnnotations.Location = new System.Drawing.Point(5, 690); this.epAnnotations.Name = "epAnnotations"; - this.epAnnotations.Size = new System.Drawing.Size(1187, 26); + this.epAnnotations.Size = new System.Drawing.Size(1185, 26); this.epAnnotations.Style.Alignment = System.Drawing.StringAlignment.Center; this.epAnnotations.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.epAnnotations.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -555,20 +555,6 @@ namespace VEPROMS this.epAnnotations.Resize += new System.EventHandler(this.epAnnotations_Resize); this.epAnnotations.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); // - // ctrlAnnotationDetails - // - this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" + - "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n"; - this.ctrlAnnotationDetails.Annotations = null; - this.ctrlAnnotationDetails.AnnotationText = ""; - 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.Name = "ctrlAnnotationDetails"; - this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1187, 0); - this.ctrlAnnotationDetails.TabIndex = 15; - // // btnAnnoDetailsPushPin // this.btnAnnoDetailsPushPin.AccessibleRole = System.Windows.Forms.AccessibleRole.CheckButton; @@ -579,7 +565,7 @@ namespace VEPROMS this.btnAnnoDetailsPushPin.ColorTable = DevComponents.DotNetBar.eButtonColor.Flat; this.btnAnnoDetailsPushPin.FocusCuesEnabled = false; this.btnAnnoDetailsPushPin.Image = ((System.Drawing.Image)(resources.GetObject("btnAnnoDetailsPushPin.Image"))); - this.btnAnnoDetailsPushPin.Location = new System.Drawing.Point(1132, 1); + this.btnAnnoDetailsPushPin.Location = new System.Drawing.Point(1130, 1); this.btnAnnoDetailsPushPin.Name = "btnAnnoDetailsPushPin"; this.btnAnnoDetailsPushPin.PressedImage = ((System.Drawing.Image)(resources.GetObject("btnAnnoDetailsPushPin.PressedImage"))); this.btnAnnoDetailsPushPin.ShowSubItems = false; @@ -599,9 +585,9 @@ namespace VEPROMS this.epProcedures.Expanded = false; this.epProcedures.ExpandedBounds = new System.Drawing.Rectangle(4, 57, 326, 663); this.epProcedures.ExpandOnTitleClick = true; - this.epProcedures.Location = new System.Drawing.Point(4, 57); + this.epProcedures.Location = new System.Drawing.Point(5, 57); this.epProcedures.Name = "epProcedures"; - this.epProcedures.Size = new System.Drawing.Size(30, 658); + this.epProcedures.Size = new System.Drawing.Size(30, 633); 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; @@ -622,21 +608,6 @@ namespace VEPROMS this.epProcedures.Resize += new System.EventHandler(this.resizeVerticalExpandedPanel); this.epProcedures.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expandPanelExpandedChanging); // - // tv - // - this.tv.AllowDrop = true; - this.tv.Dock = System.Windows.Forms.DockStyle.Fill; - this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tv.HideSelection = false; - this.tv.Location = new System.Drawing.Point(0, 26); - this.tv.Name = "tv"; - this.tv.Size = new System.Drawing.Size(30, 637); - this.tv.TabIndex = 1; - this.tv.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tv_MouseUp); - 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 // this.infoPanel.CanvasColor = System.Drawing.SystemColors.Control; @@ -647,9 +618,9 @@ namespace VEPROMS this.infoPanel.Expanded = false; this.infoPanel.ExpandedBounds = new System.Drawing.Rectangle(928, 57, 230, 663); this.infoPanel.ExpandOnTitleClick = true; - this.infoPanel.Location = new System.Drawing.Point(1128, 57); + this.infoPanel.Location = new System.Drawing.Point(1127, 57); this.infoPanel.Name = "infoPanel"; - this.infoPanel.Size = new System.Drawing.Size(30, 658); + this.infoPanel.Size = new System.Drawing.Size(30, 633); 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; @@ -727,18 +698,6 @@ namespace VEPROMS this.panelEx1.Style.ForeColor.Color = System.Drawing.Color.Transparent; this.panelEx1.TabIndex = 1; // - // displayTags - // - this.displayTags.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.displayTags.Dock = System.Windows.Forms.DockStyle.Top; - this.displayTags.Location = new System.Drawing.Point(0, 0); - this.displayTags.Margin = new System.Windows.Forms.Padding(2); - this.displayTags.MinimumSize = new System.Drawing.Size(100, 630); - this.displayTags.MyRTB = null; - this.displayTags.Name = "displayTags"; - this.displayTags.Size = new System.Drawing.Size(100, 630); - this.displayTags.TabIndex = 0; - // // infotabTags // this.infotabTags.AttachedControl = this.infotabControlPanelTags; @@ -765,20 +724,6 @@ namespace VEPROMS this.infotabControlPanelTransitions.ThemeAware = true; this.infotabControlPanelTransitions.Click += new System.EventHandler(this.infotabTransition_Click); // - // displayTransition - // - this.displayTransition.AutoSize = true; - this.displayTransition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.displayTransition.CurTrans = null; - this.displayTransition.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayTransition.Location = new System.Drawing.Point(1, 1); - this.displayTransition.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.displayTransition.MyRTB = null; - this.displayTransition.Name = "displayTransition"; - this.displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor; - this.displayTransition.Size = new System.Drawing.Size(1, 635); - this.displayTransition.TabIndex = 0; - // // infotabTransition // this.infotabTransition.AttachedControl = this.infotabControlPanelTransitions; @@ -804,21 +749,6 @@ namespace VEPROMS this.infotabControlPanelRO.TabItem = this.infotabRO; this.infotabControlPanelRO.ThemeAware = true; // - // displayRO - // - this.displayRO.CurROLink = null; - this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayRO.Location = new System.Drawing.Point(1, 1); - this.displayRO.Margin = new System.Windows.Forms.Padding(4); - this.displayRO.Mydvi = null; - this.displayRO.MyROFST = null; - this.displayRO.MyRTB = null; - this.displayRO.Name = "displayRO"; - this.displayRO.ProgressBar = null; - this.displayRO.Size = new System.Drawing.Size(1, 635); - this.displayRO.TabControl = null; - this.displayRO.TabIndex = 0; - // // infotabRO // this.infotabRO.AttachedControl = this.infotabControlPanelRO; @@ -868,9 +798,9 @@ namespace VEPROMS this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter1.Location = new System.Drawing.Point(34, 57); + this.expandableSplitter1.Location = new System.Drawing.Point(35, 57); this.expandableSplitter1.Name = "expandableSplitter1"; - this.expandableSplitter1.Size = new System.Drawing.Size(3, 658); + this.expandableSplitter1.Size = new System.Drawing.Size(3, 633); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 5; this.expandableSplitter1.TabStop = false; @@ -902,9 +832,9 @@ namespace VEPROMS this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter2.Location = new System.Drawing.Point(37, 712); + this.expandableSplitter2.Location = new System.Drawing.Point(38, 687); this.expandableSplitter2.Name = "expandableSplitter2"; - this.expandableSplitter2.Size = new System.Drawing.Size(1091, 3); + this.expandableSplitter2.Size = new System.Drawing.Size(1089, 3); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter2.TabIndex = 6; this.expandableSplitter2.TabStop = false; @@ -936,9 +866,9 @@ namespace VEPROMS this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter3.Location = new System.Drawing.Point(1125, 57); + this.expandableSplitter3.Location = new System.Drawing.Point(1124, 57); this.expandableSplitter3.Name = "expandableSplitter3"; - this.expandableSplitter3.Size = new System.Drawing.Size(3, 655); + this.expandableSplitter3.Size = new System.Drawing.Size(3, 630); this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter3.TabIndex = 7; this.expandableSplitter3.TabStop = false; @@ -962,9 +892,9 @@ namespace VEPROMS this.toolsPanel.Expanded = false; this.toolsPanel.ExpandedBounds = new System.Drawing.Rectangle(848, 57, 343, 663); this.toolsPanel.ExpandOnTitleClick = true; - this.toolsPanel.Location = new System.Drawing.Point(1161, 57); + this.toolsPanel.Location = new System.Drawing.Point(1160, 57); this.toolsPanel.Name = "toolsPanel"; - this.toolsPanel.Size = new System.Drawing.Size(30, 658); + this.toolsPanel.Size = new System.Drawing.Size(30, 633); 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; @@ -1024,21 +954,6 @@ namespace VEPROMS this.annotationSearch.TabItem = this.toolstabResults; this.annotationSearch.ThemeAware = true; // - // displaySearch1 - // - this.displaySearch1.Dock = System.Windows.Forms.DockStyle.Fill; - this.displaySearch1.LoadingList = false; - this.displaySearch1.Location = new System.Drawing.Point(1, 1); - this.displaySearch1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.displaySearch1.Mydocversion = null; - this.displaySearch1.MyROFSTLookup = null; - this.displaySearch1.Name = "displaySearch1"; - this.displaySearch1.ProgressBar = null; - this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.displaySearch1.SearchResults = null; - this.displaySearch1.Size = new System.Drawing.Size(1, 635); - this.displaySearch1.TabIndex = 0; - // // toolstabResults // this.toolstabResults.AttachedControl = this.annotationSearch; @@ -1081,17 +996,6 @@ namespace VEPROMS this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.Transparent; this.panelEx3.TabIndex = 3; // - // displayBookMarks - // - 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.MyDisplayTabControl = null; - this.displayBookMarks.MyRTB = null; - this.displayBookMarks.Name = "displayBookMarks"; - this.displayBookMarks.Size = new System.Drawing.Size(1, 635); - this.displayBookMarks.TabIndex = 0; - // // toolsTabBookMarks // this.toolsTabBookMarks.AttachedControl = this.tabControlPanel2; @@ -1115,18 +1019,6 @@ namespace VEPROMS this.tabControlPanelLD.TabItem = this.tabItemLibDocs; this.tabControlPanelLD.ThemeAware = true; // - // displayLibDocs - // - this.displayLibDocs.AutoScroll = true; - this.displayLibDocs.CurLibDoc = null; - this.displayLibDocs.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayLibDocs.LibDocList = null; - 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, 635); - this.displayLibDocs.TabIndex = 0; - // // tabItemLibDocs // this.tabItemLibDocs.AttachedControl = this.tabControlPanelLD; @@ -1162,9 +1054,9 @@ namespace VEPROMS this.expandableSplitter4.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter4.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.expandableSplitter4.Location = new System.Drawing.Point(1158, 57); + this.expandableSplitter4.Location = new System.Drawing.Point(1157, 57); this.expandableSplitter4.Name = "expandableSplitter4"; - this.expandableSplitter4.Size = new System.Drawing.Size(3, 658); + this.expandableSplitter4.Size = new System.Drawing.Size(3, 633); this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter4.TabIndex = 3; this.expandableSplitter4.TabStop = false; @@ -1184,12 +1076,13 @@ namespace VEPROMS // this.tc.Dock = System.Windows.Forms.DockStyle.Fill; this.tc.ForeColor = System.Drawing.SystemColors.ControlText; - this.tc.Location = new System.Drawing.Point(37, 57); + this.tc.Location = new System.Drawing.Point(38, 57); this.tc.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tc.MyCopyStep = null; this.tc.Name = "tc"; this.tc.RibbonExpanded = true; this.tc.SelectedDisplayTabItem = null; - this.tc.Size = new System.Drawing.Size(1088, 655); + this.tc.Size = new System.Drawing.Size(1086, 630); 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); @@ -1199,12 +1092,120 @@ namespace VEPROMS this.tc.WordSectionDeleted += new Volian.Controls.Library.StepPanelWordSectionDeletedEvent(this.tc_WordSectionDeleted); this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO); // + // displayTags + // + this.displayTags.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.displayTags.Dock = System.Windows.Forms.DockStyle.Top; + this.displayTags.Location = new System.Drawing.Point(0, 0); + this.displayTags.Margin = new System.Windows.Forms.Padding(2); + this.displayTags.MinimumSize = new System.Drawing.Size(100, 630); + this.displayTags.MyRTB = null; + this.displayTags.Name = "displayTags"; + this.displayTags.Size = new System.Drawing.Size(100, 630); + this.displayTags.TabIndex = 0; + // + // displayTransition + // + this.displayTransition.AutoSize = true; + this.displayTransition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.displayTransition.CurTrans = null; + this.displayTransition.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayTransition.Location = new System.Drawing.Point(1, 1); + this.displayTransition.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.displayTransition.MyRTB = null; + this.displayTransition.Name = "displayTransition"; + this.displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor; + this.displayTransition.Size = new System.Drawing.Size(1, 635); + this.displayTransition.TabIndex = 0; + // + // displayRO + // + this.displayRO.CurROLink = null; + this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayRO.Location = new System.Drawing.Point(1, 1); + this.displayRO.Margin = new System.Windows.Forms.Padding(4); + this.displayRO.Mydvi = null; + this.displayRO.MyROFST = null; + this.displayRO.MyRTB = null; + this.displayRO.Name = "displayRO"; + this.displayRO.ProgressBar = null; + this.displayRO.Size = new System.Drawing.Size(1, 635); + this.displayRO.TabControl = null; + this.displayRO.TabIndex = 0; + // + // displaySearch1 + // + this.displaySearch1.Dock = System.Windows.Forms.DockStyle.Fill; + this.displaySearch1.LoadingList = false; + this.displaySearch1.Location = new System.Drawing.Point(1, 1); + this.displaySearch1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.displaySearch1.Mydocversion = null; + this.displaySearch1.MyROFSTLookup = null; + this.displaySearch1.Name = "displaySearch1"; + this.displaySearch1.ProgressBar = null; + this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.displaySearch1.SearchResults = null; + this.displaySearch1.Size = new System.Drawing.Size(1, 635); + this.displaySearch1.TabIndex = 0; + // + // displayBookMarks + // + 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.MyDisplayTabControl = null; + this.displayBookMarks.MyRTB = null; + this.displayBookMarks.Name = "displayBookMarks"; + this.displayBookMarks.Size = new System.Drawing.Size(1, 635); + this.displayBookMarks.TabIndex = 0; + // + // displayLibDocs + // + this.displayLibDocs.AutoScroll = true; + this.displayLibDocs.CurLibDoc = null; + this.displayLibDocs.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayLibDocs.LibDocList = null; + 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, 635); + this.displayLibDocs.TabIndex = 0; + // + // tv + // + this.tv.AllowDrop = true; + this.tv.Dock = System.Windows.Forms.DockStyle.Fill; + this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tv.HideSelection = false; + this.tv.Location = new System.Drawing.Point(0, 26); + this.tv.Name = "tv"; + this.tv.Size = new System.Drawing.Size(30, 607); + this.tv.TabIndex = 1; + this.tv.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tv_MouseUp); + 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); + // + // ctrlAnnotationDetails + // + this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" + + "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n"; + this.ctrlAnnotationDetails.Annotations = null; + this.ctrlAnnotationDetails.AnnotationText = ""; + 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.Name = "ctrlAnnotationDetails"; + this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1185, 0); + this.ctrlAnnotationDetails.TabIndex = 15; + // // frmVEPROMS // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; - this.ClientSize = new System.Drawing.Size(1195, 772); + this.ClientSize = new System.Drawing.Size(1195, 747); 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 75c10c6c..1cb8567e 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -34,6 +34,7 @@ namespace VEPROMS DocVersionInfo _SelectedDVI = null; StepTabPanel _SelectedStepTabPanel = null; public FindReplace dlgFindReplace = null; + public VlnSpellCheck SpellChecker = null; public StepTabPanel SelectedStepTabPanel { @@ -97,10 +98,12 @@ namespace VEPROMS // - except for the volian laptop and Rich's Demo version where we need to use local data if (Environment.MachineName == "RMARK-PC") VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_RMARK_DEMO"; - else if (Environment.MachineName == "DELL-D430") - VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_LOCAL"; + //else if (Environment.MachineName == "DELL-D430") + // VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_LOCAL"; + //else + // VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS"; else - VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS"; + VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_LOCAL"; #endif InitializeComponent(); @@ -137,6 +140,7 @@ namespace VEPROMS toolsPanel.Expanded = false; ribbonControl1.ExpandedChanged += new EventHandler(ribbonControl1_ExpandedChanged); dlgFindReplace = new FindReplace(); + SpellChecker = new VlnSpellCheck(); } bool tv_InsertItemInfo(object sender, vlnTreeItemInfoInsertEventArgs args) @@ -846,6 +850,10 @@ namespace VEPROMS dlgFindReplace.Visible = true; dlgFindReplace.MyDisplayBookMarks = displayBookMarks; } + else if (args.PanelTabName == "SpellChecker") + { + SpellChecker.DoSpellCheck(); + } } private void tc_StepPanelModeChange(object sender, StepRTBModeChangeEventArgs args) { @@ -911,6 +919,7 @@ namespace VEPROMS lblEditView.Text = args.MyStepItem.MyStepRTB.ViewRTB ? "View" : "Edit"; _CurrentItem.Deleted += new ItemInfoEvent(_CurrentItem_Deleted); dlgFindReplace.MyStepItem = args.MyStepItem; + SpellChecker.MyStepItem = args.MyStepItem; } if (tc.SelectedDisplayTabItem != null) SelectedStepTabPanel = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel;