From 2a18febf5450266b3d66699adda2a4ef012ac385 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 10 Dec 2007 20:36:02 +0000 Subject: [PATCH] Added new DisplayTabControl to form replacing system.windows.forms.tabcontol. --- .../frmVEPROMS.Designer.cs | 263 +++++++++--------- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 148 +++++----- 2 files changed, 205 insertions(+), 206 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index f30971d7..7f6d47e6 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -230,18 +230,12 @@ namespace VEPROMS this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.rtxbComment = new System.Windows.Forms.RichTextBox(); this.expandablePanel2 = new DevComponents.DotNetBar.ExpandablePanel(); - this.tv = new Volian.Controls.Library.vlnTreeView(); this.infoPanel = new DevComponents.DotNetBar.ExpandablePanel(); this.infoTabs = new DevComponents.DotNetBar.TabControl(); this.infotabTransitions = new DevComponents.DotNetBar.TabControlPanel(); this.lblTranType = new DevComponents.DotNetBar.LabelX(); this.cbTranType = new System.Windows.Forms.ComboBox(); this.infotabTransition = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); - this.tvROFST = new System.Windows.Forms.TreeView(); - this.tbROValue = new DevComponents.DotNetBar.Controls.TextBoxX(); - this.lblROValue = new DevComponents.DotNetBar.LabelX(); - this.infotabRO = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.groupPanel4 = new DevComponents.DotNetBar.Controls.GroupPanel(); @@ -256,6 +250,11 @@ namespace VEPROMS this.txbChgMsg2 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.infotabTags = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); + this.tvROFST = new System.Windows.Forms.TreeView(); + this.tbROValue = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.lblROValue = new DevComponents.DotNetBar.LabelX(); + this.infotabRO = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.navpaneResults = new DevComponents.DotNetBar.NavigationPane(); this.navpanSrchRslts = new DevComponents.DotNetBar.NavigationPanePanel(); @@ -274,7 +273,8 @@ namespace VEPROMS this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter(); this.expandableSplitter3 = new DevComponents.DotNetBar.ExpandableSplitter(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); - this.tc = new System.Windows.Forms.TabControl(); + this.tv = new Volian.Controls.Library.vlnTreeView(); + this.tc = new Volian.Controls.Library.DisplayTabControl(); this.ribbonControl1.SuspendLayout(); this.ribbonPanel1.SuspendLayout(); this.ribbonPanel4.SuspendLayout(); @@ -289,13 +289,13 @@ namespace VEPROMS ((System.ComponentModel.ISupportInitialize)(this.infoTabs)).BeginInit(); this.infoTabs.SuspendLayout(); this.infotabTransitions.SuspendLayout(); - this.tabControlPanel4.SuspendLayout(); this.tabControlPanel1.SuspendLayout(); this.panelEx1.SuspendLayout(); this.groupPanel4.SuspendLayout(); this.groupPanel3.SuspendLayout(); this.groupPanel2.SuspendLayout(); this.groupPanel1.SuspendLayout(); + this.tabControlPanel4.SuspendLayout(); this.tabControlPanel3.SuspendLayout(); this.navpaneResults.SuspendLayout(); this.tabControlPanel2.SuspendLayout(); @@ -751,8 +751,8 @@ namespace VEPROMS this.btnAprvSel.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnAprvSel.Name = "btnAprvSel"; this.superTooltip1.SetSuperTooltip(this.btnAprvSel, new DevComponents.DotNetBar.SuperTooltipInfo("Approve", "", "This will allow you to select procedures to approve. Note that due to inter-rela" + - "tionships and shared references, additional procedures may also need approved al" + - "ong with the selected procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "tionships and shared references, additional procedures may also need approved al" + + "ong with the selected procedures.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnAprvSel.Text = "Selected\r\nProcedures"; // // rbnMultiUser @@ -799,7 +799,7 @@ namespace VEPROMS this.btnLock.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnLock.Name = "btnLock"; this.superTooltip1.SetSuperTooltip(this.btnLock, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "Set a lock at this level (of the procedures tree).\r\n\r\nA lock will prevent other u" + - "sers from entering at this level.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "sers from entering at this level.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnLock.Text = "Lock"; // // labelItem5 @@ -817,7 +817,7 @@ namespace VEPROMS this.btnListUsers.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnListUsers.Name = "btnListUsers"; this.superTooltip1.SetSuperTooltip(this.btnListUsers, new DevComponents.DotNetBar.SuperTooltipInfo("Multi User", "", "This will display a list of the users currently working in this area of your proc" + - "edures.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "edures.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnListUsers.Text = "List Users"; // // ribbonPanel2 @@ -901,7 +901,7 @@ namespace VEPROMS this.btnFindRplDlg.RibbonWordWrap = false; this.btnFindRplDlg.SubItemsExpandWidth = 14; this.superTooltip1.SetSuperTooltip(this.btnFindRplDlg, new DevComponents.DotNetBar.SuperTooltipInfo("Find Utility", "", "The Find button display a dialog window allowing you to look for text and optiona" + - "lly replace it.", ((System.Drawing.Image)(resources.GetObject("btnFindRplDlg.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(358, 134))); + "lly replace it.", ((System.Drawing.Image)(resources.GetObject("btnFindRplDlg.SuperTooltip"))), null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(358, 134))); this.btnFindRplDlg.Text = "Find /\r\nReplace"; this.btnFindRplDlg.Click += new System.EventHandler(this.btnFindRplDlg_Click_1); // @@ -920,7 +920,7 @@ namespace VEPROMS this.btnCpyStp.Name = "btnCpyStp"; this.btnCpyStp.SubItemsExpandWidth = 14; this.superTooltip1.SetSuperTooltip(this.btnCpyStp, new DevComponents.DotNetBar.SuperTooltipInfo("Copy Step", "", "Allows you to copy an entire or part of a step, including Transition and RO links" + - ".", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + ".", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnCpyStp.Text = "Copy\r\nStep"; // // rbnInsert @@ -989,8 +989,8 @@ namespace VEPROMS this.buttonItem68, this.buttonItem84}); this.superTooltip1.SetSuperTooltip(this.galleryContainer3, new DevComponents.DotNetBar.SuperTooltipInfo("Symbol", "", "Selecting a symbol character from this list will insert the character at your cur" + - "rent cursor location.\r\n\r\nThe button below the scroll down button will display a " + - "gallery of special characters.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(194, 159))); + "rent cursor location.\r\n\r\nThe button below the scroll down button will display a " + + "gallery of special characters.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(194, 159))); // // galleryGroup1 // @@ -1321,7 +1321,7 @@ namespace VEPROMS this.btnInsHrdSpc.Name = "btnInsHrdSpc"; this.btnInsHrdSpc.SubItemsExpandWidth = 14; this.superTooltip1.SetSuperTooltip(this.btnInsHrdSpc, new DevComponents.DotNetBar.SuperTooltipInfo("Hard Space", "", "Inserts a Hard Space.\r\n\r\nA Hard Space will print as a normal space but will tie t" + - "he word before and after it so that they will not be broken between two lines.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "he word before and after it so that they will not be broken between two lines.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnInsHrdSpc.Text = " Hard Space"; // // labelItem25 @@ -1490,7 +1490,7 @@ namespace VEPROMS this.btnInsTrans.Name = "btnInsTrans"; this.btnInsTrans.RibbonWordWrap = false; this.superTooltip1.SetSuperTooltip(this.btnInsTrans, new DevComponents.DotNetBar.SuperTooltipInfo("Insert", "", "Insert a New Transition\r\n\r\nA Transition is a live reference to different step, se" + - "ction, and/or procedure.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(160, 130))); + "ction, and/or procedure.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(160, 130))); this.btnInsTrans.Text = "Transition"; this.btnInsTrans.Tooltip = "Insert New or Modify Existing Transition"; // @@ -1503,7 +1503,7 @@ namespace VEPROMS this.btnInsRO.Name = "btnInsRO"; this.btnInsRO.RibbonWordWrap = false; this.superTooltip1.SetSuperTooltip(this.btnInsRO, new DevComponents.DotNetBar.SuperTooltipInfo("Insert Referenced Object", "", "Insert a New Referenced Object.\r\n\r\nA Referenced Object is a live reference to a v" + - "alue in the Referenced Object Database.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "alue in the Referenced Object Database.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnInsRO.Text = "Referenced\r\nObject"; // // rbnFont @@ -1597,7 +1597,7 @@ namespace VEPROMS this.btnLowCase, this.btnTitleCase}); this.superTooltip1.SetSuperTooltip(this.btnChgCase, new DevComponents.DotNetBar.SuperTooltipInfo("Font", "", "Change the letter case for the selected text:\r\n \r\n- UPPER CASE\r\n- lower case\r\n- T" + - "itle Case\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "itle Case\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnChgCase.Text = "Change Case"; // // btnUpCase @@ -2030,7 +2030,7 @@ namespace VEPROMS this.btnSetLock, this.btnReleaseLck}); this.superTooltip1.SetSuperTooltip(this.btnLckUlck, new DevComponents.DotNetBar.SuperTooltipInfo("Procedure Lock", "", "This will allow you to set or remove a lock on the current procedure. The button" + - " tells you the current lock status.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + " tells you the current lock status.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnLckUlck.Text = "Unlocked"; // // btnSetLock @@ -2137,7 +2137,7 @@ namespace VEPROMS this.btnMarkPrevPos.Name = "btnMarkPrevPos"; this.btnMarkPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.superTooltip1.SetSuperTooltip(this.btnMarkPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" + - "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnMarkPrevPos.Text = "Mark Positon"; this.btnMarkPrevPos.Click += new System.EventHandler(this.btnMarkPrevPos_Click); // @@ -2158,7 +2158,7 @@ namespace VEPROMS this.btnPrevPos.Name = "btnPrevPos"; this.btnPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.superTooltip1.SetSuperTooltip(this.btnPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" + - "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "at markking the the current position will also add to the list of bookmarks", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnPrevPos.Text = "Previous Positon"; this.btnPrevPos.Click += new System.EventHandler(this.btnPrevPos_Click); // @@ -2175,7 +2175,7 @@ namespace VEPROMS this.btnGetRoVals.ImagePaddingHorizontal = 8; this.btnGetRoVals.Name = "btnGetRoVals"; this.superTooltip1.SetSuperTooltip(this.btnGetRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Object Values", "", "This will update the RO Values in this procedure set.\r\n\r\nThis button will become " + - "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnGetRoVals.Text = "Update RO Values"; // // epComments @@ -2270,7 +2270,7 @@ namespace VEPROMS // rtxbComment // this.rtxbComment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); + | System.Windows.Forms.AnchorStyles.Left))); this.rtxbComment.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.rtxbComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rtxbComment.Location = new System.Drawing.Point(0, 26); @@ -2307,18 +2307,6 @@ namespace VEPROMS this.expandablePanel2.TitleStyle.GradientAngle = 90; this.expandablePanel2.TitleText = "Procedures"; // - // tv - // - this.tv.AllowDrop = true; - this.tv.Dock = System.Windows.Forms.DockStyle.Fill; - this.tv.HideSelection = false; - this.tv.Location = new System.Drawing.Point(0, 26); - this.tv.Name = "tv"; - this.tv.Size = new System.Drawing.Size(251, 548); - this.tv.TabIndex = 1; - this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); - this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect); - // // infoPanel // this.infoPanel.CanvasColor = System.Drawing.SystemColors.Control; @@ -2351,8 +2339,8 @@ namespace VEPROMS // this.infoTabs.BackColor = System.Drawing.Color.Transparent; this.infoTabs.CanReorderTabs = true; - this.infoTabs.Controls.Add(this.infotabTransitions); this.infoTabs.Controls.Add(this.tabControlPanel1); + this.infoTabs.Controls.Add(this.infotabTransitions); this.infoTabs.Controls.Add(this.tabControlPanel4); this.infoTabs.Controls.Add(this.tabControlPanel3); this.infoTabs.Controls.Add(this.tabControlPanel2); @@ -2381,12 +2369,12 @@ namespace VEPROMS this.infotabTransitions.Name = "infotabTransitions"; this.infotabTransitions.Padding = new System.Windows.Forms.Padding(1); this.infotabTransitions.Size = new System.Drawing.Size(204, 548); - this.infotabTransitions.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.infotabTransitions.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.infotabTransitions.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); + this.infotabTransitions.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.infotabTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.infotabTransitions.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.infotabTransitions.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.infotabTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.infotabTransitions.Style.GradientAngle = 180; this.infotabTransitions.TabIndex = 5; this.infotabTransitions.TabItem = this.infotabTransition; @@ -2415,62 +2403,6 @@ namespace VEPROMS this.infotabTransition.Text = "Transitions"; this.infotabTransition.Click += new System.EventHandler(this.infotabTransition_Click); // - // tabControlPanel4 - // - this.tabControlPanel4.Controls.Add(this.tvROFST); - this.tabControlPanel4.Controls.Add(this.tbROValue); - this.tabControlPanel4.Controls.Add(this.lblROValue); - this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel4.Location = new System.Drawing.Point(0, 0); - this.tabControlPanel4.Name = "tabControlPanel4"; - this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel4.Size = new System.Drawing.Size(204, 548); - this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); - this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); - this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel4.Style.GradientAngle = 180; - this.tabControlPanel4.TabIndex = 4; - this.tabControlPanel4.TabItem = this.infotabRO; - // - // tvROFST - // - this.tvROFST.Dock = System.Windows.Forms.DockStyle.Bottom; - this.tvROFST.Location = new System.Drawing.Point(1, 65); - this.tvROFST.Name = "tvROFST"; - this.tvROFST.Size = new System.Drawing.Size(202, 482); - this.tvROFST.TabIndex = 2; - this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand); - this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect); - // - // tbROValue - // - // - // - // - this.tbROValue.Border.Class = "TextBoxBorder"; - this.tbROValue.Location = new System.Drawing.Point(69, 10); - this.tbROValue.Name = "tbROValue"; - this.tbROValue.Size = new System.Drawing.Size(131, 20); - this.tbROValue.TabIndex = 1; - // - // lblROValue - // - this.lblROValue.Location = new System.Drawing.Point(6, 11); - this.lblROValue.Name = "lblROValue"; - this.lblROValue.Size = new System.Drawing.Size(57, 19); - this.lblROValue.TabIndex = 0; - this.lblROValue.Text = "RO Value:"; - // - // infotabRO - // - this.infotabRO.AttachedControl = this.tabControlPanel4; - this.infotabRO.Name = "infotabRO"; - this.infotabRO.Text = "RO"; - this.infotabRO.Click += new System.EventHandler(this.infotabRO_Click); - // // tabControlPanel1 // this.tabControlPanel1.Controls.Add(this.panelEx1); @@ -2479,12 +2411,12 @@ namespace VEPROMS this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel1.Size = new System.Drawing.Size(204, 548); - this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); + this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel1.Style.GradientAngle = 180; this.tabControlPanel1.TabIndex = 1; this.tabControlPanel1.TabItem = this.infotabTags; @@ -2728,6 +2660,62 @@ namespace VEPROMS this.infotabTags.Name = "infotabTags"; this.infotabTags.Text = "Tags"; // + // tabControlPanel4 + // + this.tabControlPanel4.Controls.Add(this.tvROFST); + this.tabControlPanel4.Controls.Add(this.tbROValue); + this.tabControlPanel4.Controls.Add(this.lblROValue); + this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel4.Location = new System.Drawing.Point(0, 0); + this.tabControlPanel4.Name = "tabControlPanel4"; + this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel4.Size = new System.Drawing.Size(204, 548); + this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); + this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); + this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); + this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel4.Style.GradientAngle = 180; + this.tabControlPanel4.TabIndex = 4; + this.tabControlPanel4.TabItem = this.infotabRO; + // + // tvROFST + // + this.tvROFST.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tvROFST.Location = new System.Drawing.Point(1, 65); + this.tvROFST.Name = "tvROFST"; + this.tvROFST.Size = new System.Drawing.Size(202, 482); + this.tvROFST.TabIndex = 2; + this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand); + this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect); + // + // tbROValue + // + // + // + // + this.tbROValue.Border.Class = "TextBoxBorder"; + this.tbROValue.Location = new System.Drawing.Point(69, 10); + this.tbROValue.Name = "tbROValue"; + this.tbROValue.Size = new System.Drawing.Size(131, 20); + this.tbROValue.TabIndex = 1; + // + // lblROValue + // + this.lblROValue.Location = new System.Drawing.Point(6, 11); + this.lblROValue.Name = "lblROValue"; + this.lblROValue.Size = new System.Drawing.Size(57, 19); + this.lblROValue.TabIndex = 0; + this.lblROValue.Text = "RO Value:"; + // + // infotabRO + // + this.infotabRO.AttachedControl = this.tabControlPanel4; + this.infotabRO.Name = "infotabRO"; + this.infotabRO.Text = "RO"; + this.infotabRO.Click += new System.EventHandler(this.infotabRO_Click); + // // tabControlPanel3 // this.tabControlPanel3.Controls.Add(this.navpaneResults); @@ -2736,12 +2724,12 @@ namespace VEPROMS this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel3.Size = new System.Drawing.Size(204, 548); - this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); + this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel3.Style.GradientAngle = 180; this.tabControlPanel3.TabIndex = 3; this.tabControlPanel3.TabItem = this.infotabResults; @@ -2844,12 +2832,12 @@ namespace VEPROMS this.tabControlPanel2.Name = "tabControlPanel2"; this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel2.Size = new System.Drawing.Size(204, 548); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); + this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) - | DevComponents.DotNetBar.eBorderSide.Bottom))); + | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel2.Style.GradientAngle = 180; this.tabControlPanel2.TabIndex = 2; this.tabControlPanel2.TabItem = this.infotabBookMarks; @@ -2930,28 +2918,28 @@ namespace VEPROMS // // expandableSplitter1 // - this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.ExpandLineColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter1.GripDarkColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; - this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75))))); this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139))))); this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; - this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.HotExpandLineColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; - this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.Location = new System.Drawing.Point(255, 147); this.expandableSplitter1.Name = "expandableSplitter1"; @@ -2961,29 +2949,29 @@ namespace VEPROMS // // expandableSplitter2 // - this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter2.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandableSplitter2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter2.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.ExpandLineColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter2.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter2.GripDarkColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter2.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; - this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.expandableSplitter2.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter2.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75))))); this.expandableSplitter2.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139))))); this.expandableSplitter2.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter2.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; - this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter2.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotExpandLineColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter2.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; - this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter2.Location = new System.Drawing.Point(258, 718); this.expandableSplitter2.Name = "expandableSplitter2"; @@ -2993,29 +2981,29 @@ namespace VEPROMS // // expandableSplitter3 // - this.expandableSplitter3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter3.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandableSplitter3.Dock = System.Windows.Forms.DockStyle.Right; - this.expandableSplitter3.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter3.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter3.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.ExpandLineColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter3.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter3.GripDarkColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter3.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; - this.expandableSplitter3.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.expandableSplitter3.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.expandableSplitter3.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(142)))), ((int)(((byte)(75))))); this.expandableSplitter3.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(207)))), ((int)(((byte)(139))))); this.expandableSplitter3.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter3.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; - this.expandableSplitter3.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter3.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter3.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.HotExpandLineColor = System.Drawing.SystemColors.ControlText; this.expandableSplitter3.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; - this.expandableSplitter3.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); + this.expandableSplitter3.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(124)))), ((int)(((byte)(148))))); this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(244)))), ((int)(((byte)(250))))); this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.Location = new System.Drawing.Point(799, 147); this.expandableSplitter3.Name = "expandableSplitter3"; @@ -3027,13 +3015,24 @@ namespace VEPROMS // this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; // + // tv + // + this.tv.AllowDrop = true; + this.tv.Dock = System.Windows.Forms.DockStyle.Fill; + this.tv.HideSelection = false; + this.tv.Location = new System.Drawing.Point(0, 26); + this.tv.Name = "tv"; + this.tv.Size = new System.Drawing.Size(251, 548); + this.tv.TabIndex = 1; + this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); + this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect); + // // tc // this.tc.Dock = System.Windows.Forms.DockStyle.Fill; - this.tc.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tc.Location = new System.Drawing.Point(258, 147); this.tc.Name = "tc"; - this.tc.SelectedIndex = 0; + this.tc.SelectedTab = null; this.tc.Size = new System.Drawing.Size(541, 571); this.tc.TabIndex = 8; // @@ -3072,13 +3071,13 @@ namespace VEPROMS ((System.ComponentModel.ISupportInitialize)(this.infoTabs)).EndInit(); this.infoTabs.ResumeLayout(false); this.infotabTransitions.ResumeLayout(false); - this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel1.ResumeLayout(false); this.panelEx1.ResumeLayout(false); this.groupPanel4.ResumeLayout(false); this.groupPanel3.ResumeLayout(false); this.groupPanel2.ResumeLayout(false); this.groupPanel1.ResumeLayout(false); + this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel3.ResumeLayout(false); this.navpaneResults.ResumeLayout(false); this.tabControlPanel2.ResumeLayout(false); @@ -3325,7 +3324,6 @@ namespace VEPROMS private DevComponents.DotNetBar.ButtonItem btnSimStps; private DevComponents.DotNetBar.LabelItem labelItem33; private DevComponents.DotNetBar.ButtonItem buttonItem26; - private System.Windows.Forms.TabControl tc; private DevComponents.DotNetBar.TabControlPanel tabControlPanel4; private DevComponents.DotNetBar.TabItem infotabRO; private DevComponents.DotNetBar.Controls.TextBoxX tbROValue; @@ -3335,6 +3333,7 @@ namespace VEPROMS private DevComponents.DotNetBar.TabItem infotabTransition; private DevComponents.DotNetBar.LabelX lblTranType; private System.Windows.Forms.ComboBox cbTranType; + private Volian.Controls.Library.DisplayTabControl tc; } } diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 7f0d99eb..7216079e 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -115,7 +115,7 @@ namespace VEPROMS case "ProcedureInfo": _LastProcedureInfo = (ProcedureInfo)(_LastTreeNode.VEObject); _LastProcedure = _LastProcedureInfo.Get(); - OpenItem((ItemInfo)_LastProcedureInfo); + tc.OpenItem((ItemInfo)_LastProcedureInfo); if (_LastProcedureInfo.ItemAnnotationCount > 0) { if (!cbCmntDontPopup.Checked) @@ -126,7 +126,7 @@ namespace VEPROMS case "SectionInfo": _LastSectionInfo = (SectionInfo)(_LastTreeNode.VEObject); _LastSection = _LastSectionInfo.Get(); - OpenItem((ItemInfo)_LastSectionInfo); + tc.OpenItem((ItemInfo)_LastSectionInfo); if (_LastSectionInfo.ItemAnnotationCount > 0) { if (!cbCmntDontPopup.Checked) @@ -137,7 +137,7 @@ namespace VEPROMS case "StepInfo": _LastStepInfo = (StepInfo)(_LastTreeNode.VEObject); _LastStep = _LastStepInfo.Get(); - OpenItem((ItemInfo)_LastStepInfo); + tc.OpenItem((ItemInfo)_LastStepInfo); if (_LastStepInfo.ItemAnnotationCount > 0) { if (!cbCmntDontPopup.Checked) @@ -357,32 +357,32 @@ namespace VEPROMS return rtnColor; } - private void SetupEditorColors(DisplayPanel vlnCSLAPanel1, TabPage pg) - { - // setup color - if (_LastFolderInfo == null) - { - // user didn't select a FolderInfo type of node. - // walk up the tree to find the first FolderInfo node type - VETreeNode tn = (VETreeNode)(tv.SelectedNode); - while (tn != null && tn.VEObject.GetType().Name != "FolderInfo") - tn = (VETreeNode)tn.Parent; - _LastFolderInfo = (FolderInfo)(tn.VEObject); - _LastFolder = _LastFolderInfo.Get(); - } + //private void SetupEditorColors(DisplayPanel vlnCSLAPanel1, TabPage pg) + //{ + // // setup color + // if (_LastFolderInfo == null) + // { + // // user didn't select a FolderInfo type of node. + // // walk up the tree to find the first FolderInfo node type + // VETreeNode tn = (VETreeNode)(tv.SelectedNode); + // while (tn != null && tn.VEObject.GetType().Name != "FolderInfo") + // tn = (VETreeNode)tn.Parent; + // _LastFolderInfo = (FolderInfo)(tn.VEObject); + // _LastFolder = _LastFolderInfo.Get(); + // } - if ((_LastFolderInfo.FolderConfig.Color_editbackground != null) && !(_LastFolderInfo.FolderConfig.Color_editbackground.Equals(""))) - { - vlnCSLAPanel1.ActiveColor = cGetColor(_LastFolderInfo.FolderConfig.Color_editbackground); - } - if ((_LastFolderInfo.FolderConfig.Default_BkColor != null) && !(_LastFolderInfo.FolderConfig.Default_BkColor.Equals(""))) - { - vlnCSLAPanel1.InactiveColor = _LastFolderInfo.FolderConfig.Default_BkColor; - vlnCSLAPanel1.TabColor = vlnCSLAPanel1.InactiveColor; - vlnCSLAPanel1.PanelColor = vlnCSLAPanel1.InactiveColor; - pg.BackColor = vlnCSLAPanel1.InactiveColor; - } - } + // if ((_LastFolderInfo.FolderConfig.Color_editbackground != null) && !(_LastFolderInfo.FolderConfig.Color_editbackground.Equals(""))) + // { + // vlnCSLAPanel1.ActiveColor = cGetColor(_LastFolderInfo.FolderConfig.Color_editbackground); + // } + // if ((_LastFolderInfo.FolderConfig.Default_BkColor != null) && !(_LastFolderInfo.FolderConfig.Default_BkColor.Equals(""))) + // { + // vlnCSLAPanel1.InactiveColor = _LastFolderInfo.FolderConfig.Default_BkColor; + // vlnCSLAPanel1.TabColor = vlnCSLAPanel1.InactiveColor; + // vlnCSLAPanel1.PanelColor = vlnCSLAPanel1.InactiveColor; + // pg.BackColor = vlnCSLAPanel1.InactiveColor; + // } + //} /// /// Display a Property Page for the current tree node @@ -764,14 +764,14 @@ namespace VEPROMS /// private void OpenTransition(ItemInfo item) { - OpenItem(item); + tc.OpenItem(item); } - private void OpenItem(ItemInfo item) - { - DisplayPanel vlnCSLAPanel1 = AddProcedureTab(item.MyProcedure); - vlnCSLAPanel1.ItemSelect(item); - } + //private void OpenItem(ItemInfo item) + //{ + // DisplayPanel vlnCSLAPanel1 = AddProcedureTab(item.MyProcedure); + // vlnCSLAPanel1.ItemSelect(item); + //} private void vlnCSLAPanel1_LinkClicked(object sender, Volian.Controls.Library.DisplayLinkEventArgs args) { @@ -782,51 +782,51 @@ namespace VEPROMS break; case ParsedLinkType.Transition: case ParsedLinkType.TransitionRange: - OpenItem(args.MyTransition.MyItemToID); + tc.OpenItem(args.MyTransition.MyItemToID); break; } } - private DisplayPanel GetPanelFromPage(TabPage tp) - { - return (DisplayPanel)tp.Controls["vlnCSLAPanel1"]; - } + //private DisplayPanel GetPanelFromPage(TabPage tp) + //{ + // return (DisplayPanel)tp.Controls["vlnCSLAPanel1"]; + //} - private DisplayPanel AddProcedureTab(ItemInfo pi) - { - if (tc.TabPages.ContainsKey(pi.MyContent.Number)) - { - tc.SelectTab(pi.MyContent.Number); - return GetPanelFromPage(tc.SelectedTab); - } - else - { - TabPage pg = new TabPage(pi.MyContent.Number); - pg.Name = pi.MyContent.Number; - tc.TabPages.Add(pg); - tc.SelectedTab = pg; - DisplayPanel vlnCSLAPanel1 = new Volian.Controls.Library.DisplayPanel(this.components); - pg.Controls.Add(vlnCSLAPanel1); - // - // vlnCSLAPanel1 - // - vlnCSLAPanel1.ActiveColor = System.Drawing.Color.SkyBlue; - vlnCSLAPanel1.AutoScroll = true; - vlnCSLAPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - vlnCSLAPanel1.InactiveColor = System.Drawing.Color.Linen; - vlnCSLAPanel1.Name = "vlnCSLAPanel1"; - vlnCSLAPanel1.PanelColor = System.Drawing.Color.LightGray; - vlnCSLAPanel1.ProcFont = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); - vlnCSLAPanel1.SectFont = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); - vlnCSLAPanel1.StepFont = new System.Drawing.Font("Arial", 10F); - vlnCSLAPanel1.TabColor = System.Drawing.Color.Beige; - SetupEditorColors(vlnCSLAPanel1,pg); // check for overridden color values - vlnCSLAPanel1.TabIndex = 9; - vlnCSLAPanel1.LinkClicked += new Volian.Controls.Library.DisplayPanelLinkEvent(this.vlnCSLAPanel1_LinkClicked); - vlnCSLAPanel1.MyItem = pi; - return vlnCSLAPanel1; - } - } + //private DisplayPanel AddProcedureTab(ItemInfo pi) + //{ + // if (tc.TabPages.ContainsKey(pi.MyContent.Number)) + // { + // tc.SelectTab(pi.MyContent.Number); + // return GetPanelFromPage(tc.SelectedTab); + // } + // else + // { + // TabPage pg = new TabPage(pi.MyContent.Number); + // pg.Name = pi.MyContent.Number; + // tc.TabPages.Add(pg); + // tc.SelectedTab = pg; + // DisplayPanel vlnCSLAPanel1 = new Volian.Controls.Library.DisplayPanel(this.components); + // pg.Controls.Add(vlnCSLAPanel1); + // // + // // vlnCSLAPanel1 + // // + // vlnCSLAPanel1.ActiveColor = System.Drawing.Color.SkyBlue; + // vlnCSLAPanel1.AutoScroll = true; + // vlnCSLAPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + // vlnCSLAPanel1.InactiveColor = System.Drawing.Color.Linen; + // vlnCSLAPanel1.Name = "vlnCSLAPanel1"; + // vlnCSLAPanel1.PanelColor = System.Drawing.Color.LightGray; + // vlnCSLAPanel1.ProcFont = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); + // vlnCSLAPanel1.SectFont = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + // vlnCSLAPanel1.StepFont = new System.Drawing.Font("Arial", 10F); + // vlnCSLAPanel1.TabColor = System.Drawing.Color.Beige; + // SetupEditorColors(vlnCSLAPanel1,pg); // check for overridden color values + // vlnCSLAPanel1.TabIndex = 9; + // vlnCSLAPanel1.LinkClicked += new Volian.Controls.Library.DisplayPanelLinkEvent(this.vlnCSLAPanel1_LinkClicked); + // vlnCSLAPanel1.MyItem = pi; + // return vlnCSLAPanel1; + // } + //} #endregion #region Font