From d44593d6d47192ebbeeffd6171267cfe20849764 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Tue, 24 Jun 2025 19:48:48 -0400 Subject: [PATCH] B2025-035-Hold-Procedure-Set-Bug --- .../DisplayTransition.Designer.cs | 992 +++++++++--------- .../DisplayTransition.cs | 58 +- 2 files changed, 552 insertions(+), 498 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs b/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs index 27cfde3d..b1f9d4b7 100644 --- a/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayTransition.Designer.cs @@ -28,507 +28,507 @@ namespace Volian.Controls.Library /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayTransition)); - this.groupPanelBtns = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.cbHoldProcSet = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbPageNum = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.btnTranCancel = new DevComponents.DotNetBar.ButtonX(); - this.btnTranSave = new DevComponents.DotNetBar.ButtonX(); - this.groupPanelTranFmt = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.listBoxTranFmt = new System.Windows.Forms.ListBox(); - this.groupPanelTransitionSets = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.vlnTreeComboSets = new Volian.Controls.Library.vlnTreeCombo(); - this.groupPanelTransitionProcs = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.cbTranProcs = new System.Windows.Forms.ComboBox(); - this.groupPanelTransitionSect = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.cbTranSects = new System.Windows.Forms.ComboBox(); - this.groupPanelTranstionSteps = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tvTran = new Volian.Controls.Library.vlnTreeView3(); - this.pnlTranStepBtns = new System.Windows.Forms.Panel(); - this.cbIncStepNum = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.lblxTranRangeTip = new DevComponents.DotNetBar.LabelX(); - this.btnTranRangeClear = new DevComponents.DotNetBar.ButtonX(); - this.btnUp1 = new DevComponents.DotNetBar.ButtonX(); - this.superToolTipDispTran = new DevComponents.DotNetBar.SuperTooltip(); - this.groupPanelBtns.SuspendLayout(); - this.groupPanelTranFmt.SuspendLayout(); - this.groupPanelTransitionSets.SuspendLayout(); - this.groupPanelTransitionProcs.SuspendLayout(); - this.groupPanelTransitionSect.SuspendLayout(); - this.groupPanelTranstionSteps.SuspendLayout(); - this.pnlTranStepBtns.SuspendLayout(); - this.SuspendLayout(); - // - // groupPanelBtns - // - this.groupPanelBtns.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelBtns.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelBtns.Controls.Add(this.cbHoldProcSet); - this.groupPanelBtns.Controls.Add(this.cbPageNum); - this.groupPanelBtns.Controls.Add(this.btnTranCancel); - this.groupPanelBtns.Controls.Add(this.btnTranSave); - this.groupPanelBtns.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelBtns.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelBtns.Location = new System.Drawing.Point(0, 0); - this.groupPanelBtns.Name = "groupPanelBtns"; - this.groupPanelBtns.Size = new System.Drawing.Size(376, 82); - // - // - // - this.groupPanelBtns.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelBtns.Style.BackColorGradientAngle = 90; - this.groupPanelBtns.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelBtns.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelBtns.Style.BorderBottomWidth = 1; - this.groupPanelBtns.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelBtns.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelBtns.Style.BorderLeftWidth = 1; - this.groupPanelBtns.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelBtns.Style.BorderRightWidth = 1; - this.groupPanelBtns.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelBtns.Style.BorderTopWidth = 1; - this.groupPanelBtns.Style.CornerDiameter = 4; - this.groupPanelBtns.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelBtns.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelBtns.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelBtns.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelBtns.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelBtns.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelBtns.TabIndex = 25; - // - // cbHoldProcSet - // - this.cbHoldProcSet.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbHoldProcSet.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbHoldProcSet.Location = new System.Drawing.Point(0, 54); - this.cbHoldProcSet.Margin = new System.Windows.Forms.Padding(2); - this.cbHoldProcSet.Name = "cbHoldProcSet"; - this.cbHoldProcSet.Size = new System.Drawing.Size(214, 15); - this.cbHoldProcSet.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.superToolTipDispTran.SetSuperTooltip(this.cbHoldProcSet, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("cbHoldProcSet.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbHoldProcSet.TabIndex = 27; - this.cbHoldProcSet.Text = "Hold Procedure Set / Procedure"; - this.cbHoldProcSet.CheckedChanged += new System.EventHandler(this.cbHoldProcSet_CheckedChanged); - // - // cbPageNum - // - this.cbPageNum.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbPageNum.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbPageNum.Location = new System.Drawing.Point(0, 35); - this.cbPageNum.Margin = new System.Windows.Forms.Padding(2); - this.cbPageNum.Name = "cbPageNum"; - this.cbPageNum.Size = new System.Drawing.Size(126, 15); - this.cbPageNum.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.cbPageNum.TabIndex = 26; - this.cbPageNum.Text = "Include Page Number"; - this.cbPageNum.CheckedChanged += new System.EventHandler(this.cbPageNum_CheckedChanged); - // - // btnTranCancel - // - this.btnTranCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnTranCancel.AutoSize = true; - this.btnTranCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnTranCancel.Dock = System.Windows.Forms.DockStyle.Right; - this.btnTranCancel.Location = new System.Drawing.Point(282, 0); - this.btnTranCancel.Margin = new System.Windows.Forms.Padding(2); - this.btnTranCancel.Name = "btnTranCancel"; - this.btnTranCancel.Size = new System.Drawing.Size(88, 36); - this.superToolTipDispTran.SetSuperTooltip(this.btnTranCancel, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This restores transition selections to the default if a transition would be inser" + + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayTransition)); + this.groupPanelBtns = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbHoldProcSet = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.cbPageNum = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.btnTranCancel = new DevComponents.DotNetBar.ButtonX(); + this.btnTranSave = new DevComponents.DotNetBar.ButtonX(); + this.groupPanelTranFmt = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.listBoxTranFmt = new System.Windows.Forms.ListBox(); + this.groupPanelTransitionSets = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.vlnTreeComboSets = new Volian.Controls.Library.vlnTreeCombo(); + this.groupPanelTransitionProcs = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbTranProcs = new System.Windows.Forms.ComboBox(); + this.groupPanelTransitionSect = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbTranSects = new System.Windows.Forms.ComboBox(); + this.groupPanelTranstionSteps = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.tvTran = new Volian.Controls.Library.vlnTreeView3(); + this.pnlTranStepBtns = new System.Windows.Forms.Panel(); + this.cbIncStepNum = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.lblxTranRangeTip = new DevComponents.DotNetBar.LabelX(); + this.btnTranRangeClear = new DevComponents.DotNetBar.ButtonX(); + this.btnUp1 = new DevComponents.DotNetBar.ButtonX(); + this.superToolTipDispTran = new DevComponents.DotNetBar.SuperTooltip(); + this.groupPanelBtns.SuspendLayout(); + this.groupPanelTranFmt.SuspendLayout(); + this.groupPanelTransitionSets.SuspendLayout(); + this.groupPanelTransitionProcs.SuspendLayout(); + this.groupPanelTransitionSect.SuspendLayout(); + this.groupPanelTranstionSteps.SuspendLayout(); + this.pnlTranStepBtns.SuspendLayout(); + this.SuspendLayout(); + // + // groupPanelBtns + // + this.groupPanelBtns.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelBtns.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelBtns.Controls.Add(this.cbHoldProcSet); + this.groupPanelBtns.Controls.Add(this.cbPageNum); + this.groupPanelBtns.Controls.Add(this.btnTranCancel); + this.groupPanelBtns.Controls.Add(this.btnTranSave); + this.groupPanelBtns.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelBtns.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelBtns.Location = new System.Drawing.Point(0, 0); + this.groupPanelBtns.Name = "groupPanelBtns"; + this.groupPanelBtns.Size = new System.Drawing.Size(376, 82); + // + // + // + this.groupPanelBtns.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelBtns.Style.BackColorGradientAngle = 90; + this.groupPanelBtns.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelBtns.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelBtns.Style.BorderBottomWidth = 1; + this.groupPanelBtns.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelBtns.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelBtns.Style.BorderLeftWidth = 1; + this.groupPanelBtns.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelBtns.Style.BorderRightWidth = 1; + this.groupPanelBtns.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelBtns.Style.BorderTopWidth = 1; + this.groupPanelBtns.Style.CornerDiameter = 4; + this.groupPanelBtns.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelBtns.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelBtns.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelBtns.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelBtns.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelBtns.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelBtns.TabIndex = 25; + // + // cbHoldProcSet + // + this.cbHoldProcSet.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbHoldProcSet.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbHoldProcSet.Location = new System.Drawing.Point(0, 54); + this.cbHoldProcSet.Margin = new System.Windows.Forms.Padding(2); + this.cbHoldProcSet.Name = "cbHoldProcSet"; + this.cbHoldProcSet.Size = new System.Drawing.Size(214, 15); + this.cbHoldProcSet.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.superToolTipDispTran.SetSuperTooltip(this.cbHoldProcSet, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("cbHoldProcSet.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbHoldProcSet.TabIndex = 27; + this.cbHoldProcSet.Text = "Hold Procedure Set / Procedure"; + this.cbHoldProcSet.CheckedChanged += new System.EventHandler(this.cbHoldProcSet_CheckedChanged); + // + // cbPageNum + // + this.cbPageNum.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbPageNum.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbPageNum.Location = new System.Drawing.Point(0, 35); + this.cbPageNum.Margin = new System.Windows.Forms.Padding(2); + this.cbPageNum.Name = "cbPageNum"; + this.cbPageNum.Size = new System.Drawing.Size(126, 15); + this.cbPageNum.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.cbPageNum.TabIndex = 26; + this.cbPageNum.Text = "Include Page Number"; + this.cbPageNum.CheckedChanged += new System.EventHandler(this.cbPageNum_CheckedChanged); + // + // btnTranCancel + // + this.btnTranCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnTranCancel.AutoSize = true; + this.btnTranCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnTranCancel.Dock = System.Windows.Forms.DockStyle.Right; + this.btnTranCancel.Location = new System.Drawing.Point(282, 0); + this.btnTranCancel.Margin = new System.Windows.Forms.Padding(2); + this.btnTranCancel.Name = "btnTranCancel"; + this.btnTranCancel.Size = new System.Drawing.Size(88, 36); + this.superToolTipDispTran.SetSuperTooltip(this.btnTranCancel, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This restores transition selections to the default if a transition would be inser" + "ted, or the original transition if one had been selected.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.btnTranCancel.TabIndex = 25; - this.btnTranCancel.Text = "Cancel"; - this.btnTranCancel.Click += new System.EventHandler(this.btnTranCancel_Click); - // - // btnTranSave - // - this.btnTranSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnTranSave.AutoSize = true; - this.btnTranSave.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnTranSave.Dock = System.Windows.Forms.DockStyle.Left; - this.btnTranSave.Location = new System.Drawing.Point(0, 0); - this.btnTranSave.Name = "btnTranSave"; - this.btnTranSave.Size = new System.Drawing.Size(103, 36); - this.superToolTipDispTran.SetSuperTooltip(this.btnTranSave, new DevComponents.DotNetBar.SuperTooltipInfo("Save Transition", "", "- This will place the selected Transition at the cursor position.\r\n- This will re" + + this.btnTranCancel.TabIndex = 25; + this.btnTranCancel.Text = "Cancel"; + this.btnTranCancel.Click += new System.EventHandler(this.btnTranCancel_Click); + // + // btnTranSave + // + this.btnTranSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnTranSave.AutoSize = true; + this.btnTranSave.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnTranSave.Dock = System.Windows.Forms.DockStyle.Left; + this.btnTranSave.Location = new System.Drawing.Point(0, 0); + this.btnTranSave.Name = "btnTranSave"; + this.btnTranSave.Size = new System.Drawing.Size(103, 36); + this.superToolTipDispTran.SetSuperTooltip(this.btnTranSave, new DevComponents.DotNetBar.SuperTooltipInfo("Save Transition", "", "- This will place the selected Transition at the cursor position.\r\n- This will re" + "place a Transition with the selected Transition.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.btnTranSave.TabIndex = 24; - this.btnTranSave.Text = "Save Transition"; - this.btnTranSave.Click += new System.EventHandler(this.btnTranSave_Click); - // - // groupPanelTranFmt - // - this.groupPanelTranFmt.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelTranFmt.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelTranFmt.Controls.Add(this.listBoxTranFmt); - this.groupPanelTranFmt.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelTranFmt.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelTranFmt.Location = new System.Drawing.Point(0, 82); - this.groupPanelTranFmt.Name = "groupPanelTranFmt"; - this.groupPanelTranFmt.Size = new System.Drawing.Size(376, 141); - // - // - // - this.groupPanelTranFmt.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelTranFmt.Style.BackColorGradientAngle = 90; - this.groupPanelTranFmt.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelTranFmt.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranFmt.Style.BorderBottomWidth = 1; - this.groupPanelTranFmt.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelTranFmt.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranFmt.Style.BorderLeftWidth = 1; - this.groupPanelTranFmt.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranFmt.Style.BorderRightWidth = 1; - this.groupPanelTranFmt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranFmt.Style.BorderTopWidth = 1; - this.groupPanelTranFmt.Style.CornerDiameter = 4; - this.groupPanelTranFmt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelTranFmt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelTranFmt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelTranFmt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelTranFmt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelTranFmt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelTranFmt.TabIndex = 27; - this.groupPanelTranFmt.Text = "Select Format"; - // - // listBoxTranFmt - // - this.listBoxTranFmt.Dock = System.Windows.Forms.DockStyle.Fill; - this.listBoxTranFmt.FormattingEnabled = true; - this.listBoxTranFmt.HorizontalScrollbar = true; - this.listBoxTranFmt.Location = new System.Drawing.Point(0, 0); - this.listBoxTranFmt.Name = "listBoxTranFmt"; - this.listBoxTranFmt.Size = new System.Drawing.Size(370, 120); - this.superToolTipDispTran.SetSuperTooltip(this.listBoxTranFmt, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This is where transition types are selected. This also defines how the transitio" + + this.btnTranSave.TabIndex = 24; + this.btnTranSave.Text = "Save Transition"; + this.btnTranSave.Click += new System.EventHandler(this.btnTranSave_Click); + // + // groupPanelTranFmt + // + this.groupPanelTranFmt.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelTranFmt.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelTranFmt.Controls.Add(this.listBoxTranFmt); + this.groupPanelTranFmt.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelTranFmt.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelTranFmt.Location = new System.Drawing.Point(0, 82); + this.groupPanelTranFmt.Name = "groupPanelTranFmt"; + this.groupPanelTranFmt.Size = new System.Drawing.Size(376, 141); + // + // + // + this.groupPanelTranFmt.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelTranFmt.Style.BackColorGradientAngle = 90; + this.groupPanelTranFmt.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelTranFmt.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranFmt.Style.BorderBottomWidth = 1; + this.groupPanelTranFmt.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelTranFmt.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranFmt.Style.BorderLeftWidth = 1; + this.groupPanelTranFmt.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranFmt.Style.BorderRightWidth = 1; + this.groupPanelTranFmt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranFmt.Style.BorderTopWidth = 1; + this.groupPanelTranFmt.Style.CornerDiameter = 4; + this.groupPanelTranFmt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelTranFmt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelTranFmt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelTranFmt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelTranFmt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelTranFmt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelTranFmt.TabIndex = 27; + this.groupPanelTranFmt.Text = "Select Format"; + // + // listBoxTranFmt + // + this.listBoxTranFmt.Dock = System.Windows.Forms.DockStyle.Fill; + this.listBoxTranFmt.FormattingEnabled = true; + this.listBoxTranFmt.HorizontalScrollbar = true; + this.listBoxTranFmt.Location = new System.Drawing.Point(0, 0); + this.listBoxTranFmt.Name = "listBoxTranFmt"; + this.listBoxTranFmt.Size = new System.Drawing.Size(370, 120); + this.superToolTipDispTran.SetSuperTooltip(this.listBoxTranFmt, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This is where transition types are selected. This also defines how the transitio" + "n will look in the text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.listBoxTranFmt.TabIndex = 13; - this.listBoxTranFmt.SelectedIndexChanged += new System.EventHandler(this.listBoxTranFmt_Click); - // - // groupPanelTransitionSets - // - this.groupPanelTransitionSets.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelTransitionSets.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelTransitionSets.Controls.Add(this.vlnTreeComboSets); - this.groupPanelTransitionSets.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelTransitionSets.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelTransitionSets.Location = new System.Drawing.Point(0, 223); - this.groupPanelTransitionSets.Name = "groupPanelTransitionSets"; - this.groupPanelTransitionSets.Size = new System.Drawing.Size(376, 48); - // - // - // - this.groupPanelTransitionSets.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelTransitionSets.Style.BackColorGradientAngle = 90; - this.groupPanelTransitionSets.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelTransitionSets.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSets.Style.BorderBottomWidth = 1; - this.groupPanelTransitionSets.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelTransitionSets.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSets.Style.BorderLeftWidth = 1; - this.groupPanelTransitionSets.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSets.Style.BorderRightWidth = 1; - this.groupPanelTransitionSets.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSets.Style.BorderTopWidth = 1; - this.groupPanelTransitionSets.Style.CornerDiameter = 4; - this.groupPanelTransitionSets.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelTransitionSets.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelTransitionSets.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelTransitionSets.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelTransitionSets.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelTransitionSets.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelTransitionSets.TabIndex = 31; - this.groupPanelTransitionSets.Text = "Select Procedure Set"; - // - // vlnTreeComboSets - // - this.vlnTreeComboSets.Dock = System.Windows.Forms.DockStyle.Fill; - this.vlnTreeComboSets.Location = new System.Drawing.Point(0, 0); - this.vlnTreeComboSets.Margin = new System.Windows.Forms.Padding(4); - this.vlnTreeComboSets.Name = "vlnTreeComboSets"; - this.vlnTreeComboSets.Size = new System.Drawing.Size(370, 21); - this.superToolTipDispTran.SetSuperTooltip(this.vlnTreeComboSets, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("vlnTreeComboSets.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.vlnTreeComboSets.TabIndex = 33; - this.vlnTreeComboSets.Value = null; - this.vlnTreeComboSets.FinishEditing += new AT.STO.UI.Win.DropDownValueChangedEventHandler(this.DropDown_FinishEditing); - // - // groupPanelTransitionProcs - // - this.groupPanelTransitionProcs.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelTransitionProcs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelTransitionProcs.Controls.Add(this.cbTranProcs); - this.groupPanelTransitionProcs.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelTransitionProcs.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelTransitionProcs.Location = new System.Drawing.Point(0, 271); - this.groupPanelTransitionProcs.Name = "groupPanelTransitionProcs"; - this.groupPanelTransitionProcs.Size = new System.Drawing.Size(376, 46); - // - // - // - this.groupPanelTransitionProcs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelTransitionProcs.Style.BackColorGradientAngle = 90; - this.groupPanelTransitionProcs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelTransitionProcs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionProcs.Style.BorderBottomWidth = 1; - this.groupPanelTransitionProcs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelTransitionProcs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionProcs.Style.BorderLeftWidth = 1; - this.groupPanelTransitionProcs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionProcs.Style.BorderRightWidth = 1; - this.groupPanelTransitionProcs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionProcs.Style.BorderTopWidth = 1; - this.groupPanelTransitionProcs.Style.CornerDiameter = 4; - this.groupPanelTransitionProcs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelTransitionProcs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelTransitionProcs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelTransitionProcs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelTransitionProcs.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelTransitionProcs.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelTransitionProcs.TabIndex = 32; - this.groupPanelTransitionProcs.Text = "Select Procedure"; - // - // cbTranProcs - // - this.cbTranProcs.Dock = System.Windows.Forms.DockStyle.Fill; - this.cbTranProcs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbTranProcs.FormattingEnabled = true; - this.cbTranProcs.Location = new System.Drawing.Point(0, 0); - this.cbTranProcs.Name = "cbTranProcs"; - this.cbTranProcs.Size = new System.Drawing.Size(370, 21); - this.superToolTipDispTran.SetSuperTooltip(this.cbTranProcs, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("cbTranProcs.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbTranProcs.TabIndex = 14; - this.cbTranProcs.SelectedIndexChanged += new System.EventHandler(this.cbTranProcs_SelectedIndexChanged); - // - // groupPanelTransitionSect - // - this.groupPanelTransitionSect.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelTransitionSect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelTransitionSect.Controls.Add(this.cbTranSects); - this.groupPanelTransitionSect.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelTransitionSect.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelTransitionSect.Location = new System.Drawing.Point(0, 317); - this.groupPanelTransitionSect.Name = "groupPanelTransitionSect"; - this.groupPanelTransitionSect.Size = new System.Drawing.Size(376, 49); - // - // - // - this.groupPanelTransitionSect.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelTransitionSect.Style.BackColorGradientAngle = 90; - this.groupPanelTransitionSect.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelTransitionSect.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSect.Style.BorderBottomWidth = 1; - this.groupPanelTransitionSect.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelTransitionSect.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSect.Style.BorderLeftWidth = 1; - this.groupPanelTransitionSect.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSect.Style.BorderRightWidth = 1; - this.groupPanelTransitionSect.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTransitionSect.Style.BorderTopWidth = 1; - this.groupPanelTransitionSect.Style.CornerDiameter = 4; - this.groupPanelTransitionSect.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelTransitionSect.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelTransitionSect.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelTransitionSect.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelTransitionSect.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelTransitionSect.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelTransitionSect.TabIndex = 33; - this.groupPanelTransitionSect.Text = "Select Section"; - // - // cbTranSects - // - this.cbTranSects.Dock = System.Windows.Forms.DockStyle.Fill; - this.cbTranSects.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbTranSects.FormattingEnabled = true; - this.cbTranSects.Location = new System.Drawing.Point(0, 0); - this.cbTranSects.Name = "cbTranSects"; - this.cbTranSects.Size = new System.Drawing.Size(370, 21); - this.superToolTipDispTran.SetSuperTooltip(this.cbTranSects, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("cbTranSects.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbTranSects.TabIndex = 20; - this.cbTranSects.SelectedIndexChanged += new System.EventHandler(this.cbTranSects_SelectedIndexChanged); - this.cbTranSects.Click += new System.EventHandler(this.cbTranSects_SelectedIndexChanged); - // - // groupPanelTranstionSteps - // - this.groupPanelTranstionSteps.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelTranstionSteps.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelTranstionSteps.Controls.Add(this.tvTran); - this.groupPanelTranstionSteps.Controls.Add(this.pnlTranStepBtns); - this.groupPanelTranstionSteps.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelTranstionSteps.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupPanelTranstionSteps.Location = new System.Drawing.Point(0, 366); - this.groupPanelTranstionSteps.Name = "groupPanelTranstionSteps"; - this.groupPanelTranstionSteps.Size = new System.Drawing.Size(376, 310); - // - // - // - this.groupPanelTranstionSteps.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelTranstionSteps.Style.BackColorGradientAngle = 90; - this.groupPanelTranstionSteps.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelTranstionSteps.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranstionSteps.Style.BorderBottomWidth = 1; - this.groupPanelTranstionSteps.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelTranstionSteps.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranstionSteps.Style.BorderLeftWidth = 1; - this.groupPanelTranstionSteps.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranstionSteps.Style.BorderRightWidth = 1; - this.groupPanelTranstionSteps.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelTranstionSteps.Style.BorderTopWidth = 1; - this.groupPanelTranstionSteps.Style.CornerDiameter = 4; - this.groupPanelTranstionSteps.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelTranstionSteps.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelTranstionSteps.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelTranstionSteps.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelTranstionSteps.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelTranstionSteps.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelTranstionSteps.TabIndex = 34; - this.groupPanelTranstionSteps.Text = "Select Step"; - // - // tvTran - // - this.tvTran.Dock = System.Windows.Forms.DockStyle.Fill; - this.tvTran.HideSelection = false; - this.tvTran.Location = new System.Drawing.Point(0, 46); - this.tvTran.Name = "tvTran"; - this.tvTran.Size = new System.Drawing.Size(370, 243); - this.superToolTipDispTran.SetSuperTooltip(this.tvTran, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("tvTran.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.tvTran.TabIndex = 31; - this.tvTran.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvTran_AfterSelect); - // - // pnlTranStepBtns - // - this.pnlTranStepBtns.Controls.Add(this.cbIncStepNum); - this.pnlTranStepBtns.Controls.Add(this.lblxTranRangeTip); - this.pnlTranStepBtns.Controls.Add(this.btnTranRangeClear); - this.pnlTranStepBtns.Controls.Add(this.btnUp1); - this.pnlTranStepBtns.Dock = System.Windows.Forms.DockStyle.Top; - this.pnlTranStepBtns.Location = new System.Drawing.Point(0, 0); - this.pnlTranStepBtns.Name = "pnlTranStepBtns"; - this.pnlTranStepBtns.Size = new System.Drawing.Size(370, 46); - this.pnlTranStepBtns.TabIndex = 30; - // - // cbIncStepNum - // - // - // - // - this.cbIncStepNum.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbIncStepNum.Location = new System.Drawing.Point(8, 12); - this.cbIncStepNum.Margin = new System.Windows.Forms.Padding(2); - this.cbIncStepNum.Name = "cbIncStepNum"; - this.cbIncStepNum.Size = new System.Drawing.Size(126, 19); - this.cbIncStepNum.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.cbIncStepNum.TabIndex = 0; - this.cbIncStepNum.Text = "Include Step Number"; - this.cbIncStepNum.CheckedChanged += new System.EventHandler(this.cbIncStepNum_CheckedChanged); - // - // lblxTranRangeTip - // - // - // - // - this.lblxTranRangeTip.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblxTranRangeTip.Dock = System.Windows.Forms.DockStyle.Right; - this.lblxTranRangeTip.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblxTranRangeTip.Location = new System.Drawing.Point(265, 0); - this.lblxTranRangeTip.Name = "lblxTranRangeTip"; - this.lblxTranRangeTip.Size = new System.Drawing.Size(105, 46); - this.superToolTipDispTran.SetSuperTooltip(this.lblxTranRangeTip, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "For range transitions, shows which selection, first or second, that the next sele" + + this.listBoxTranFmt.TabIndex = 13; + this.listBoxTranFmt.SelectedIndexChanged += new System.EventHandler(this.listBoxTranFmt_Click); + // + // groupPanelTransitionSets + // + this.groupPanelTransitionSets.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelTransitionSets.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelTransitionSets.Controls.Add(this.vlnTreeComboSets); + this.groupPanelTransitionSets.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelTransitionSets.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelTransitionSets.Location = new System.Drawing.Point(0, 223); + this.groupPanelTransitionSets.Name = "groupPanelTransitionSets"; + this.groupPanelTransitionSets.Size = new System.Drawing.Size(376, 48); + // + // + // + this.groupPanelTransitionSets.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelTransitionSets.Style.BackColorGradientAngle = 90; + this.groupPanelTransitionSets.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelTransitionSets.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSets.Style.BorderBottomWidth = 1; + this.groupPanelTransitionSets.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelTransitionSets.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSets.Style.BorderLeftWidth = 1; + this.groupPanelTransitionSets.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSets.Style.BorderRightWidth = 1; + this.groupPanelTransitionSets.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSets.Style.BorderTopWidth = 1; + this.groupPanelTransitionSets.Style.CornerDiameter = 4; + this.groupPanelTransitionSets.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelTransitionSets.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelTransitionSets.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelTransitionSets.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelTransitionSets.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelTransitionSets.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelTransitionSets.TabIndex = 31; + this.groupPanelTransitionSets.Text = "Select Procedure Set"; + // + // vlnTreeComboSets + // + this.vlnTreeComboSets.Dock = System.Windows.Forms.DockStyle.Fill; + this.vlnTreeComboSets.Location = new System.Drawing.Point(0, 0); + this.vlnTreeComboSets.Margin = new System.Windows.Forms.Padding(4); + this.vlnTreeComboSets.Name = "vlnTreeComboSets"; + this.vlnTreeComboSets.Size = new System.Drawing.Size(370, 21); + this.superToolTipDispTran.SetSuperTooltip(this.vlnTreeComboSets, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("vlnTreeComboSets.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.vlnTreeComboSets.TabIndex = 33; + this.vlnTreeComboSets.Value = null; + this.vlnTreeComboSets.FinishEditing += new AT.STO.UI.Win.DropDownValueChangedEventHandler(this.DropDown_FinishEditing); + // + // groupPanelTransitionProcs + // + this.groupPanelTransitionProcs.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelTransitionProcs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelTransitionProcs.Controls.Add(this.cbTranProcs); + this.groupPanelTransitionProcs.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelTransitionProcs.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelTransitionProcs.Location = new System.Drawing.Point(0, 271); + this.groupPanelTransitionProcs.Name = "groupPanelTransitionProcs"; + this.groupPanelTransitionProcs.Size = new System.Drawing.Size(376, 46); + // + // + // + this.groupPanelTransitionProcs.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelTransitionProcs.Style.BackColorGradientAngle = 90; + this.groupPanelTransitionProcs.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelTransitionProcs.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionProcs.Style.BorderBottomWidth = 1; + this.groupPanelTransitionProcs.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelTransitionProcs.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionProcs.Style.BorderLeftWidth = 1; + this.groupPanelTransitionProcs.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionProcs.Style.BorderRightWidth = 1; + this.groupPanelTransitionProcs.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionProcs.Style.BorderTopWidth = 1; + this.groupPanelTransitionProcs.Style.CornerDiameter = 4; + this.groupPanelTransitionProcs.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelTransitionProcs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelTransitionProcs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelTransitionProcs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelTransitionProcs.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelTransitionProcs.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelTransitionProcs.TabIndex = 32; + this.groupPanelTransitionProcs.Text = "Select Procedure"; + // + // cbTranProcs + // + this.cbTranProcs.Dock = System.Windows.Forms.DockStyle.Fill; + this.cbTranProcs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbTranProcs.FormattingEnabled = true; + this.cbTranProcs.Location = new System.Drawing.Point(0, 0); + this.cbTranProcs.Name = "cbTranProcs"; + this.cbTranProcs.Size = new System.Drawing.Size(370, 21); + this.superToolTipDispTran.SetSuperTooltip(this.cbTranProcs, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("cbTranProcs.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbTranProcs.TabIndex = 14; + this.cbTranProcs.SelectedIndexChanged += new System.EventHandler(this.cbTranProcs_SelectedIndexChanged); + // + // groupPanelTransitionSect + // + this.groupPanelTransitionSect.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelTransitionSect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelTransitionSect.Controls.Add(this.cbTranSects); + this.groupPanelTransitionSect.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelTransitionSect.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelTransitionSect.Location = new System.Drawing.Point(0, 317); + this.groupPanelTransitionSect.Name = "groupPanelTransitionSect"; + this.groupPanelTransitionSect.Size = new System.Drawing.Size(376, 49); + // + // + // + this.groupPanelTransitionSect.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelTransitionSect.Style.BackColorGradientAngle = 90; + this.groupPanelTransitionSect.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelTransitionSect.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSect.Style.BorderBottomWidth = 1; + this.groupPanelTransitionSect.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelTransitionSect.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSect.Style.BorderLeftWidth = 1; + this.groupPanelTransitionSect.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSect.Style.BorderRightWidth = 1; + this.groupPanelTransitionSect.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTransitionSect.Style.BorderTopWidth = 1; + this.groupPanelTransitionSect.Style.CornerDiameter = 4; + this.groupPanelTransitionSect.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelTransitionSect.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelTransitionSect.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelTransitionSect.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelTransitionSect.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelTransitionSect.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelTransitionSect.TabIndex = 33; + this.groupPanelTransitionSect.Text = "Select Section"; + // + // cbTranSects + // + this.cbTranSects.Dock = System.Windows.Forms.DockStyle.Fill; + this.cbTranSects.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbTranSects.FormattingEnabled = true; + this.cbTranSects.Location = new System.Drawing.Point(0, 0); + this.cbTranSects.Name = "cbTranSects"; + this.cbTranSects.Size = new System.Drawing.Size(370, 21); + this.superToolTipDispTran.SetSuperTooltip(this.cbTranSects, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("cbTranSects.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbTranSects.TabIndex = 20; + this.cbTranSects.SelectedIndexChanged += new System.EventHandler(this.cbTranSects_SelectedIndexChanged); + this.cbTranSects.Click += new System.EventHandler(this.cbTranSects_SelectedIndexChanged); + // + // groupPanelTranstionSteps + // + this.groupPanelTranstionSteps.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelTranstionSteps.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelTranstionSteps.Controls.Add(this.tvTran); + this.groupPanelTranstionSteps.Controls.Add(this.pnlTranStepBtns); + this.groupPanelTranstionSteps.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelTranstionSteps.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupPanelTranstionSteps.Location = new System.Drawing.Point(0, 366); + this.groupPanelTranstionSteps.Name = "groupPanelTranstionSteps"; + this.groupPanelTranstionSteps.Size = new System.Drawing.Size(376, 310); + // + // + // + this.groupPanelTranstionSteps.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelTranstionSteps.Style.BackColorGradientAngle = 90; + this.groupPanelTranstionSteps.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelTranstionSteps.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranstionSteps.Style.BorderBottomWidth = 1; + this.groupPanelTranstionSteps.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelTranstionSteps.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranstionSteps.Style.BorderLeftWidth = 1; + this.groupPanelTranstionSteps.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranstionSteps.Style.BorderRightWidth = 1; + this.groupPanelTranstionSteps.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelTranstionSteps.Style.BorderTopWidth = 1; + this.groupPanelTranstionSteps.Style.CornerDiameter = 4; + this.groupPanelTranstionSteps.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelTranstionSteps.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelTranstionSteps.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelTranstionSteps.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelTranstionSteps.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelTranstionSteps.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelTranstionSteps.TabIndex = 34; + this.groupPanelTranstionSteps.Text = "Select Step"; + // + // tvTran + // + this.tvTran.Dock = System.Windows.Forms.DockStyle.Fill; + this.tvTran.HideSelection = false; + this.tvTran.Location = new System.Drawing.Point(0, 46); + this.tvTran.Name = "tvTran"; + this.tvTran.Size = new System.Drawing.Size(370, 243); + this.superToolTipDispTran.SetSuperTooltip(this.tvTran, new DevComponents.DotNetBar.SuperTooltipInfo("", "", resources.GetString("tvTran.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.tvTran.TabIndex = 31; + this.tvTran.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvTran_AfterSelect); + // + // pnlTranStepBtns + // + this.pnlTranStepBtns.Controls.Add(this.cbIncStepNum); + this.pnlTranStepBtns.Controls.Add(this.lblxTranRangeTip); + this.pnlTranStepBtns.Controls.Add(this.btnTranRangeClear); + this.pnlTranStepBtns.Controls.Add(this.btnUp1); + this.pnlTranStepBtns.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlTranStepBtns.Location = new System.Drawing.Point(0, 0); + this.pnlTranStepBtns.Name = "pnlTranStepBtns"; + this.pnlTranStepBtns.Size = new System.Drawing.Size(370, 46); + this.pnlTranStepBtns.TabIndex = 30; + // + // cbIncStepNum + // + // + // + // + this.cbIncStepNum.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbIncStepNum.Location = new System.Drawing.Point(8, 12); + this.cbIncStepNum.Margin = new System.Windows.Forms.Padding(2); + this.cbIncStepNum.Name = "cbIncStepNum"; + this.cbIncStepNum.Size = new System.Drawing.Size(126, 19); + this.cbIncStepNum.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.cbIncStepNum.TabIndex = 0; + this.cbIncStepNum.Text = "Include Step Number"; + this.cbIncStepNum.CheckedChanged += new System.EventHandler(this.cbIncStepNum_CheckedChanged); + // + // lblxTranRangeTip + // + // + // + // + this.lblxTranRangeTip.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.lblxTranRangeTip.Dock = System.Windows.Forms.DockStyle.Right; + this.lblxTranRangeTip.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblxTranRangeTip.Location = new System.Drawing.Point(265, 0); + this.lblxTranRangeTip.Name = "lblxTranRangeTip"; + this.lblxTranRangeTip.Size = new System.Drawing.Size(105, 46); + this.superToolTipDispTran.SetSuperTooltip(this.lblxTranRangeTip, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "For range transitions, shows which selection, first or second, that the next sele" + "ction will be.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.lblxTranRangeTip.TabIndex = 33; - this.lblxTranRangeTip.Text = "Select First \r\nTransition\r\nfor Range"; - // - // btnTranRangeClear - // - this.btnTranRangeClear.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnTranRangeClear.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnTranRangeClear.Dock = System.Windows.Forms.DockStyle.Left; - this.btnTranRangeClear.Location = new System.Drawing.Point(0, 0); - this.btnTranRangeClear.Name = "btnTranRangeClear"; - this.btnTranRangeClear.Size = new System.Drawing.Size(58, 46); - this.superToolTipDispTran.SetSuperTooltip(this.btnTranRangeClear, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This clears the Range selection in the tree view", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.btnTranRangeClear.TabIndex = 31; - this.btnTranRangeClear.Text = "Clear Range Selection"; - this.btnTranRangeClear.Click += new System.EventHandler(this.btnTranRangeClear_Click); - // - // btnUp1 - // - this.btnUp1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnUp1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnUp1.Image = global::Volian.Controls.Library.Properties.Resources.GoToParentFolderHS; - this.btnUp1.Location = new System.Drawing.Point(210, 0); - this.btnUp1.Name = "btnUp1"; - this.btnUp1.Size = new System.Drawing.Size(43, 46); - this.superToolTipDispTran.SetSuperTooltip(this.btnUp1, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This will display the tree for selecting the transition one level higher than cur" + + this.lblxTranRangeTip.TabIndex = 33; + this.lblxTranRangeTip.Text = "Select First \r\nTransition\r\nfor Range"; + // + // btnTranRangeClear + // + this.btnTranRangeClear.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnTranRangeClear.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnTranRangeClear.Dock = System.Windows.Forms.DockStyle.Left; + this.btnTranRangeClear.Location = new System.Drawing.Point(0, 0); + this.btnTranRangeClear.Name = "btnTranRangeClear"; + this.btnTranRangeClear.Size = new System.Drawing.Size(58, 46); + this.superToolTipDispTran.SetSuperTooltip(this.btnTranRangeClear, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This clears the Range selection in the tree view", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.btnTranRangeClear.TabIndex = 31; + this.btnTranRangeClear.Text = "Clear Range Selection"; + this.btnTranRangeClear.Click += new System.EventHandler(this.btnTranRangeClear_Click); + // + // btnUp1 + // + this.btnUp1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnUp1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnUp1.Image = global::Volian.Controls.Library.Properties.Resources.GoToParentFolderHS; + this.btnUp1.Location = new System.Drawing.Point(210, 0); + this.btnUp1.Name = "btnUp1"; + this.btnUp1.Size = new System.Drawing.Size(43, 46); + this.superToolTipDispTran.SetSuperTooltip(this.btnUp1, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "This will display the tree for selecting the transition one level higher than cur" + "rently shown. If already showing High Level Steps, this button has no effect.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.btnUp1.TabIndex = 30; - this.btnUp1.Visible = false; - // - // superToolTipDispTran - // - this.superToolTipDispTran.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); - this.superToolTipDispTran.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - // - // DisplayTransition - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.groupPanelTranstionSteps); - this.Controls.Add(this.groupPanelTransitionSect); - this.Controls.Add(this.groupPanelTransitionProcs); - this.Controls.Add(this.groupPanelTransitionSets); - this.Controls.Add(this.groupPanelTranFmt); - this.Controls.Add(this.groupPanelBtns); - this.Margin = new System.Windows.Forms.Padding(2); - this.Name = "DisplayTransition"; - this.Size = new System.Drawing.Size(376, 676); - this.groupPanelBtns.ResumeLayout(false); - this.groupPanelBtns.PerformLayout(); - this.groupPanelTranFmt.ResumeLayout(false); - this.groupPanelTransitionSets.ResumeLayout(false); - this.groupPanelTransitionProcs.ResumeLayout(false); - this.groupPanelTransitionSect.ResumeLayout(false); - this.groupPanelTranstionSteps.ResumeLayout(false); - this.pnlTranStepBtns.ResumeLayout(false); - this.ResumeLayout(false); + this.btnUp1.TabIndex = 30; + this.btnUp1.Visible = false; + // + // superToolTipDispTran + // + this.superToolTipDispTran.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); + this.superToolTipDispTran.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + // + // DisplayTransition + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.groupPanelTranstionSteps); + this.Controls.Add(this.groupPanelTransitionSect); + this.Controls.Add(this.groupPanelTransitionProcs); + this.Controls.Add(this.groupPanelTransitionSets); + this.Controls.Add(this.groupPanelTranFmt); + this.Controls.Add(this.groupPanelBtns); + this.Margin = new System.Windows.Forms.Padding(2); + this.Name = "DisplayTransition"; + this.Size = new System.Drawing.Size(376, 676); + this.groupPanelBtns.ResumeLayout(false); + this.groupPanelBtns.PerformLayout(); + this.groupPanelTranFmt.ResumeLayout(false); + this.groupPanelTransitionSets.ResumeLayout(false); + this.groupPanelTransitionProcs.ResumeLayout(false); + this.groupPanelTransitionSect.ResumeLayout(false); + this.groupPanelTranstionSteps.ResumeLayout(false); + this.pnlTranStepBtns.ResumeLayout(false); + this.ResumeLayout(false); } diff --git a/PROMS/Volian.Controls.Library/DisplayTransition.cs b/PROMS/Volian.Controls.Library/DisplayTransition.cs index 375b3d80..bab8747c 100644 --- a/PROMS/Volian.Controls.Library/DisplayTransition.cs +++ b/PROMS/Volian.Controls.Library/DisplayTransition.cs @@ -524,7 +524,55 @@ namespace Volian.Controls.Library ItemInfo secitm = (ItemInfo)cbTranSects.SelectedItem; bool hasMetaSubs = secitm.IsSection && secitm.Sections != null && secitm.Sections.Count > 0; bool editSteps = !hasMetaSubs || (secitm.MyConfig is SectionConfig && (secitm.MyConfig as SectionConfig).SubSection_Edit == "Y"); - if (!editSteps) return; + if (!editSteps) + { + if (secitm.Sections != null) + { + // if the transition to point is a section or procedure, just return + if (startitm.MyContent.Type < 20000) return; + groupPanelTranstionSteps.Style.BackColor = Color.Cornsilk; + // For the tree view, use parent, unless already at HLS. If at HLS, use this level. + //ItemInfo selitm2 = startitm.MyHLS; + ItemInfo selSubSec = secitm.Sections[0]; + + // The commented out code below is for displaying the steps from the first sub-section B2025-035 + //ItemInfo subSelStep = selSubSec.Steps[0]; + //E_TransUI etm2 = (E_TransUI)_CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[listBoxTranFmt.SelectedIndex].TransUI; + //if (subSelStep.IsInRNO) + // startitm = subSelStep.FirstSibling; // if in RNO tree, start out with HLS + //else + // startitm = subSelStep != null ? subSelStep.FirstSibling : startitm.FirstSibling; + + // B2025-035 + ItemInfo subSelStep = secitm.Sections[0]; + E_TransUI etm2 = (E_TransUI)_CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[listBoxTranFmt.SelectedIndex].TransUI; + if (subSelStep.IsInRNO) + startitm = subSelStep.FirstSibling; // if in RNO tree, start out with HLS + else + startitm = subSelStep != null ? subSelStep.FirstSibling : startitm.FirstSibling; + + // B2025-035 + bool setsel2 = false; + while (startitm != null) + { + VETreeNode tvn = new VETreeNode(startitm, false); + tvn.Tag = startitm; + int active = this.tvTran.Nodes.Add(tvn); + if (subSelStep != null && startitm.ItemID == subSelStep.ItemID) + { + tvTran.SelectedNode = tvTran.Nodes[active]; + setsel2 = true; + } + startitm = startitm.GetNext(); + } + if (!setsel2) tvTran.SelectedNode = tvTran.Nodes[0]; + tvTran.BeforeExpand += new TreeViewCancelEventHandler(tvTran_BeforeExpand); + // bug fix. TreeView needs the next two lines to properly display the bottom node. jsj 01/08/2010 + tvTran.ItemHeight++; + tvTran.ItemHeight--; + } + return; + } // if the transition to point is a section or procedure, just return if (startitm.MyContent.Type < 20000) return; @@ -934,7 +982,13 @@ namespace Volian.Controls.Library // a different section was selected, if step section, update step list, otherwise, empty // it & disable. ItemInfo secitm = (ItemInfo)cbTranSects.SelectedItem; - if (!secitm.IsStepSection) + + //if (secitm.IsStepSection) + //{ + // cbTranSects.SelectedItem.Sections[0]; + + //} + if (!secitm.IsStepSection) { tvTran.Nodes.Clear(); tvTran.Enabled = false;