Added new DisplayTabControl to form replacing system.windows.forms.tabcontol.

This commit is contained in:
Rich 2007-12-10 20:36:02 +00:00
parent 544013bbe5
commit 2a18febf54
2 changed files with 205 additions and 206 deletions

View File

@ -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();
@ -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,10 +2369,10 @@ 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)));
this.infotabTransitions.Style.GradientAngle = 180;
@ -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,10 +2411,10 @@ 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)));
this.tabControlPanel1.Style.GradientAngle = 180;
@ -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,10 +2724,10 @@ 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)));
this.tabControlPanel3.Style.GradientAngle = 180;
@ -2844,10 +2832,10 @@ 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)));
this.tabControlPanel2.Style.GradientAngle = 180;
@ -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;
}
}

View File

@ -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;
// }
//}
/// <summary>
/// Display a Property Page for the current tree node
@ -764,14 +764,14 @@ namespace VEPROMS
/// <param name="item"></param>
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