From d44593d6d47192ebbeeffd6171267cfe20849764 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Tue, 24 Jun 2025 19:48:48 -0400 Subject: [PATCH 1/4] 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; From 5fd8096ef0843936c6ec8d19cfcc84cda8a455ba Mon Sep 17 00:00:00 2001 From: John Jenko Date: Thu, 26 Jun 2025 16:08:21 -0400 Subject: [PATCH 2/4] F2025-016 fixed the Open Bullet with Blank Line "o" designator to use the greek "o" lower cased omicron symbol --- PROMS/Formats/fmtall/SHEAall.xml | Bin 79016 -> 79464 bytes PROMS/Formats/fmtall/SHEall.xml | Bin 78994 -> 79442 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/PROMS/Formats/fmtall/SHEAall.xml b/PROMS/Formats/fmtall/SHEAall.xml index 847ad8e5548128f22e0d7780309a65845526b0a3..c6b0b25fcb9856ed127ae315a63dc728712593cb 100644 GIT binary patch delta 19 bcmZ4SlI6u4mJQDmHy?{FV%j_-N#GIyZJi1} delta 59 zcmaFyhGoS|mJQDmC%46`G3HN}R}ux1flA6?Qhf3RB^Ks<28GFYVuuYCjVVitU Lo^5kLio_)Vq=gkI diff --git a/PROMS/Formats/fmtall/SHEall.xml b/PROMS/Formats/fmtall/SHEall.xml index 868f873779d2f3480620a38365a444f3d7c225c1..c0ec01e4b4bcdc6f5a07e61f8d5b8feb55e42cb1 100644 GIT binary patch delta 19 bcmbRAlI7AHmJL;jo1 Date: Thu, 10 Jul 2025 10:47:06 -0400 Subject: [PATCH 3/4] C2025-038 Code cleanup to prevent multiple events from being assigned to the same method. --- PROMS/DropDownPanel/Controls/DropDownPanel.cs | 4 ++++ PROMS/DropDownPanel/Forms/DropDownForm.cs | 2 ++ PROMS/DropDownPanel/Helper/DropDownWindowHelper.cs | 1 + PROMS/VEPROMS User Interface/DlgPrintProcedure.cs | 1 + .../VEPROMS User Interface/dlgApproveProcedure.cs | 6 ++++++ PROMS/VEPROMS User Interface/dlgManageSecurity.cs | 1 + PROMS/VEPROMS User Interface/frmPDFStatusForm.cs | 1 + PROMS/VEPROMS User Interface/frmVEPROMS.cs | 11 ++++++++++- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 2 ++ PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs | 14 ++++++++++++++ PROMS/Volian.Controls.Library/AnnotationSearch.cs | 1 + .../DisplayApplicability.cs | 3 +++ PROMS/Volian.Controls.Library/DisplayRO.cs | 2 ++ PROMS/Volian.Controls.Library/DisplayReports.cs | 4 ++++ PROMS/Volian.Controls.Library/DisplaySearch.cs | 4 ++++ PROMS/Volian.Controls.Library/DisplayTabControl.cs | 4 ++++ PROMS/Volian.Controls.Library/DisplayTransition.cs | 2 ++ PROMS/Volian.Controls.Library/EditItem.cs | 9 +++++++++ 18 files changed, 71 insertions(+), 1 deletion(-) diff --git a/PROMS/DropDownPanel/Controls/DropDownPanel.cs b/PROMS/DropDownPanel/Controls/DropDownPanel.cs index 78f5d816..49646260 100644 --- a/PROMS/DropDownPanel/Controls/DropDownPanel.cs +++ b/PROMS/DropDownPanel/Controls/DropDownPanel.cs @@ -28,7 +28,9 @@ namespace AT.STO.UI.Win _dropDownHelper = new DropDownWindowHelper(); + _dropDownHelper.DropDownClosed -= new DropDownClosedEventHandler(DropDownHelper_DropDownClosed); _dropDownHelper.DropDownClosed += new DropDownClosedEventHandler(DropDownHelper_DropDownClosed); + _dropDownHelper.DropDownCancel -= new DropDownCancelEventHandler(DropDownHelper_DropDownCancel); _dropDownHelper.DropDownCancel += new DropDownCancelEventHandler(DropDownHelper_DropDownCancel); combo.DisplayMember = "Text"; @@ -82,7 +84,9 @@ namespace AT.STO.UI.Win DropDownForm dropDown = new DropDownForm(_dropDownControl); + dropDown.FinishEditing -= new DropDownValueChangedEventHandler(DropDown_FinishEditing); dropDown.FinishEditing += new DropDownValueChangedEventHandler(DropDown_FinishEditing); + dropDown.ValueChanged -= new DropDownValueChangedEventHandler(DropDown_ValueChanged); dropDown.ValueChanged += new DropDownValueChangedEventHandler(DropDown_ValueChanged); combo.DroppedDown = false; diff --git a/PROMS/DropDownPanel/Forms/DropDownForm.cs b/PROMS/DropDownPanel/Forms/DropDownForm.cs index 6e6a45db..c6923a15 100644 --- a/PROMS/DropDownPanel/Forms/DropDownForm.cs +++ b/PROMS/DropDownPanel/Forms/DropDownForm.cs @@ -49,7 +49,9 @@ namespace AT.STO.UI.Win { base.OnShown(e); + _control.FinishEditing -= new DropDownValueChangedEventHandler(Ctrl_FinishEditing); _control.FinishEditing += new DropDownValueChangedEventHandler(Ctrl_FinishEditing); + _control.ValueChanged -= new DropDownValueChangedEventHandler(Ctrl_ValueChanged); _control.ValueChanged += new DropDownValueChangedEventHandler(Ctrl_ValueChanged); } #endregion diff --git a/PROMS/DropDownPanel/Helper/DropDownWindowHelper.cs b/PROMS/DropDownPanel/Helper/DropDownWindowHelper.cs index 0d996e60..e3eb0308 100644 --- a/PROMS/DropDownPanel/Helper/DropDownWindowHelper.cs +++ b/PROMS/DropDownPanel/Helper/DropDownWindowHelper.cs @@ -39,6 +39,7 @@ namespace AT.STO.UI.Win public DropDownWindowHelper() { _filter = new DropDownMessageFilter(this); + _filter.DropDownCancel -= new DropDownCancelEventHandler(Popup_Cancel); _filter.DropDownCancel += new DropDownCancelEventHandler(Popup_Cancel); } #endregion diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index f38f9188..15031b4a 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -393,6 +393,7 @@ namespace VEPROMS { SetupForProcedure(); _MyTimer = new Timer(); + _MyTimer.Tick -= new EventHandler(_MyTimer_Tick); _MyTimer.Tick += new EventHandler(_MyTimer_Tick); _MyTimer.Interval = 100; _MyTimer.Enabled = true; diff --git a/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs b/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs index 59420ece..e3e997b7 100644 --- a/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs +++ b/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs @@ -65,11 +65,13 @@ namespace VEPROMS MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing _MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing ApplicabilityIndex = myDocVersion.DocVersionConfig.SelectedSlave; + this.ConsistencyPrintRequest -= new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest); this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest); _MyDocVersion = myDocVersion; _MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list InitializeComponent(); FlexGridAddEvents(); + _MyApproval.StatusUpdated -= new ApprovalStatusChangeEvent(_MyApproval_StatusUpdated); _MyApproval.StatusUpdated += new ApprovalStatusChangeEvent(_MyApproval_StatusUpdated); SetupComboBoxes(); foreach (ProcedureInfo pi in myDocVersion.Procedures) @@ -101,6 +103,7 @@ namespace VEPROMS //fgProcs.SetupEditor += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_SetupEditor); //fgProcs.StartEdit += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_StartEdit); //fgProcs.ValidateEdit += new C1.Win.C1FlexGrid.ValidateEditEventHandler(fgProcs_ValidateEdit); + fgProcs.ComboCloseUp -= new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_ComboCloseUp); fgProcs.ComboCloseUp += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_ComboCloseUp); //fgProcs.MouseDown += new MouseEventHandler(fgProcs_MouseDown); //fgProcs.MouseUp += new MouseEventHandler(fgProcs_MouseUp); @@ -275,6 +278,7 @@ namespace VEPROMS { MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing _MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing + this.ConsistencyPrintRequest -= new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest); this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest); _MyDocVersion = myDocVersion; _MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list @@ -295,6 +299,7 @@ namespace VEPROMS { MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing _MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing + this.ConsistencyPrintRequest -= new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest); this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest); _MyDocVersion = myProcedure.MyDocVersion; _MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list @@ -450,6 +455,7 @@ namespace VEPROMS int checkedCount = clbMore.CheckedItems.Count; string oldLabel = lblMore.Text; pbMore.Visible = true; + ItemInfoList.ConsistencyCheckUpdated -= new ItemInfoListCCEvent(ItemInfoList_ConsistencyCheckUpdated); ItemInfoList.ConsistencyCheckUpdated += new ItemInfoListCCEvent(ItemInfoList_ConsistencyCheckUpdated); List myProcs = new List(); // B2018-136 use the list of procedures that have checkboxes and are checked (right panel) instead of the list to be approved (left panel) diff --git a/PROMS/VEPROMS User Interface/dlgManageSecurity.cs b/PROMS/VEPROMS User Interface/dlgManageSecurity.cs index 54f2bf58..defb3a4d 100644 --- a/PROMS/VEPROMS User Interface/dlgManageSecurity.cs +++ b/PROMS/VEPROMS User Interface/dlgManageSecurity.cs @@ -40,6 +40,7 @@ namespace VEPROMS rb.Parent = pnlGroups; rb.Dock = DockStyle.Top; rb.Tag = gi; + rb.CheckedChanged -= new EventHandler(rb_CheckedChanged); rb.CheckedChanged += new EventHandler(rb_CheckedChanged); pnlGroups.Controls.Add(rb); rb.BringToFront(); diff --git a/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs b/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs index a2088150..9b024af5 100644 --- a/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs +++ b/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs @@ -254,6 +254,7 @@ namespace VEPROMS if (CancelStop) btnCancel.Visible = true; Application.DoEvents(); + MyPromsPrinter.StatusChanged -= new PromsPrinterStatusEvent(pp_StatusChanged); MyPromsPrinter.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged); MyPromsPrinter.DocReplace = DocReplace; // used when approve generates an export with unlinked ROs and Transitions diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 840dbd6e..6d7aafa8 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -3601,9 +3601,13 @@ namespace VEPROMS if (tn == null) return; _ExpandingTree = true; + tn.LoadingChildrenDone -= new VETreeNodeEvent(tn_LoadingChildrenDone); tn.LoadingChildrenDone += new VETreeNodeEvent(tn_LoadingChildrenDone); + tn.LoadingChildrenMax -= new VETreeNodeEvent(tn_LoadingChildrenMax); tn.LoadingChildrenMax += new VETreeNodeEvent(tn_LoadingChildrenMax); + tn.LoadingChildrenValue -= new VETreeNodeEvent(tn_LoadingChildrenValue); tn.LoadingChildrenValue += new VETreeNodeEvent(tn_LoadingChildrenValue); + tn.LoadingChildrenSQL -= new VETreeNodeEvent(tn_LoadingChildrenSQL); tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL); tn.LoadChildren(true); } @@ -4324,7 +4328,11 @@ namespace VEPROMS _LastStepRTB.EditModeChanged -= new StepRTBEvent(_LastStepRTB_EditModeChanged); _LastStepRTB = args != null && args.MyEditItem != null ? args.MyEditItem.MyStepRTB : null; - if (_LastStepRTB != null) _LastStepRTB.EditModeChanged += new StepRTBEvent(_LastStepRTB_EditModeChanged); + if (_LastStepRTB != null) + { + _LastStepRTB.EditModeChanged -= new StepRTBEvent(_LastStepRTB_EditModeChanged); + _LastStepRTB.EditModeChanged += new StepRTBEvent(_LastStepRTB_EditModeChanged); + } lblEditView.Text = " "; if (args == null) @@ -4459,6 +4467,7 @@ namespace VEPROMS displayHistory.MyEditItem = args.MyEditItem; lblEditView.Text = args.MyEditItem.MyStepPanel.VwMode == E_ViewMode.Edit ? "Edit" : "View"; + _CurrentItem.Deleted -= new ItemInfoEvent(_CurrentItem_Deleted); _CurrentItem.Deleted += new ItemInfoEvent(_CurrentItem_Deleted); dlgFindReplace.MyEditItem = args.MyEditItem; SpellChecker.MyEditItem = args.MyEditItem; diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index b0649cc6..2ddb1b73 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -8325,6 +8325,7 @@ namespace VEPROMS.CSLA.Library if (_ProcedureConfig == null) { _ProcedureConfig = new ProcedureConfig(this); + this.MyContent.Changed -= new ContentInfoEvent(MyContent_Changed); this.MyContent.Changed += new ContentInfoEvent(MyContent_Changed); } return _ProcedureConfig; @@ -8334,6 +8335,7 @@ namespace VEPROMS.CSLA.Library void MyContent_Changed(object sender) { + this.MyContent.Changed -= new ContentInfoEvent(MyContent_Changed); this.MyContent.Changed += new ContentInfoEvent(MyContent_Changed); } #endregion diff --git a/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs b/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs index d29e4595..4ae00cc6 100644 --- a/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs +++ b/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs @@ -386,12 +386,19 @@ namespace VEPROMS.CSLA.Library ItemInfo myItemInfo = o as ItemInfo; if (myItemInfo != null) { + myItemInfo.Deleted -= new ItemInfoEvent(myItemInfo_Deleted); myItemInfo.Deleted += new ItemInfoEvent(myItemInfo_Deleted); + myItemInfo.ChildrenDeleted -= new ItemInfoEvent(myItemInfo_ChildrenDeleted); myItemInfo.ChildrenDeleted += new ItemInfoEvent(myItemInfo_ChildrenDeleted); + myItemInfo.MyContent.Changed -= new ContentInfoEvent(NodeText_Changed); myItemInfo.MyContent.Changed += new ContentInfoEvent(NodeText_Changed); + myItemInfo.OrdinalChanged -= new ItemInfoEvent(NodeText_Changed); myItemInfo.OrdinalChanged += new ItemInfoEvent(NodeText_Changed); + myItemInfo.NewSiblingAfter -= new ItemInfoInsertEvent(myItemInfo_NewSiblingAfter); myItemInfo.NewSiblingAfter += new ItemInfoInsertEvent(myItemInfo_NewSiblingAfter); + myItemInfo.NewSiblingBefore -= new ItemInfoInsertEvent(myItemInfo_NewSiblingBefore); myItemInfo.NewSiblingBefore += new ItemInfoInsertEvent(myItemInfo_NewSiblingBefore); + myItemInfo.NewChild -= new ItemInfoInsertEvent(myItemInfo_NewChild); myItemInfo.NewChild += new ItemInfoInsertEvent(myItemInfo_NewChild); } } @@ -429,12 +436,19 @@ namespace VEPROMS.CSLA.Library ItemInfo myItemInfo = o as ItemInfo; if (myItemInfo != null) { + myItemInfo.Deleted -= new ItemInfoEvent(myItemInfo_Deleted); myItemInfo.Deleted += new ItemInfoEvent(myItemInfo_Deleted); + myItemInfo.ChildrenDeleted -= new ItemInfoEvent(myItemInfo_ChildrenDeleted); myItemInfo.ChildrenDeleted += new ItemInfoEvent(myItemInfo_ChildrenDeleted); + myItemInfo.MyContent.Changed -= new ContentInfoEvent(NodeText_Changed); myItemInfo.MyContent.Changed += new ContentInfoEvent(NodeText_Changed); + myItemInfo.OrdinalChanged -= new ItemInfoEvent(NodeText_Changed); myItemInfo.OrdinalChanged += new ItemInfoEvent(NodeText_Changed); + myItemInfo.NewSiblingAfter -= new ItemInfoInsertEvent(myItemInfo_NewSiblingAfter); myItemInfo.NewSiblingAfter += new ItemInfoInsertEvent(myItemInfo_NewSiblingAfter); + myItemInfo.NewSiblingBefore -= new ItemInfoInsertEvent(myItemInfo_NewSiblingBefore); myItemInfo.NewSiblingBefore += new ItemInfoInsertEvent(myItemInfo_NewSiblingBefore); + myItemInfo.NewChild -= new ItemInfoInsertEvent(myItemInfo_NewChild); myItemInfo.NewChild += new ItemInfoInsertEvent(myItemInfo_NewChild); } } diff --git a/PROMS/Volian.Controls.Library/AnnotationSearch.cs b/PROMS/Volian.Controls.Library/AnnotationSearch.cs index 68f3acec..19218a76 100644 --- a/PROMS/Volian.Controls.Library/AnnotationSearch.cs +++ b/PROMS/Volian.Controls.Library/AnnotationSearch.cs @@ -69,6 +69,7 @@ namespace Volian.Controls.Library _AnnotationDetails = annotationDetails; cbAnnoType.DisplayMember = "Name"; cbAnnoType.DataSource = AnnotationTypeInfoList.Get(); + lbResults.MouseMove -= new MouseEventHandler(lbResults_MouseMove); lbResults.MouseMove += new MouseEventHandler(lbResults_MouseMove); _TabControl = tc; } diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 51947f06..a5869b64 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -354,7 +354,10 @@ namespace Volian.Controls.Library private void WireCheckboxes() { foreach (CheckBox cb in MyCheckBoxes.Values) + { + cb.CheckedChanged -= new EventHandler(cb_CheckedChanged); cb.CheckedChanged += new EventHandler(cb_CheckedChanged); + } } private void UnwireCheckboxes(bool reset) { diff --git a/PROMS/Volian.Controls.Library/DisplayRO.cs b/PROMS/Volian.Controls.Library/DisplayRO.cs index b5acdb7d..b82e6f3c 100644 --- a/PROMS/Volian.Controls.Library/DisplayRO.cs +++ b/PROMS/Volian.Controls.Library/DisplayRO.cs @@ -211,7 +211,9 @@ namespace Volian.Controls.Library } _myRTB = value; + MyRTB.LinkChanged -= new StepRTBLinkEvent(MyRTB_LinkChanged); MyRTB.LinkChanged += new StepRTBLinkEvent(MyRTB_LinkChanged); + MyRTB.SelectionChanged -= new EventHandler(MyRTB_SelectionChanged); MyRTB.SelectionChanged += new EventHandler(MyRTB_SelectionChanged); if (string.IsNullOrEmpty(MyRTB.MyLinkText)) diff --git a/PROMS/Volian.Controls.Library/DisplayReports.cs b/PROMS/Volian.Controls.Library/DisplayReports.cs index a32a2d43..a347edda 100644 --- a/PROMS/Volian.Controls.Library/DisplayReports.cs +++ b/PROMS/Volian.Controls.Library/DisplayReports.cs @@ -161,8 +161,11 @@ namespace Volian.Controls.Library if (_MyROFSTLookup == null) return; + advTreeRO.BeforeExpand -= new AdvTreeNodeCancelEventHandler(advTreeRO_BeforeExpand); advTreeRO.BeforeExpand += new AdvTreeNodeCancelEventHandler(advTreeRO_BeforeExpand); + advTreeRO.AfterExpand -= new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse); advTreeRO.AfterExpand += new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse); + advTreeRO.AfterCollapse -= new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse); advTreeRO.AfterCollapse += new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse); topnode = new DevComponents.AdvTree.Node(); @@ -250,6 +253,7 @@ namespace Volian.Controls.Library topnode.Tag = fi; } + advTreeProcSets.BeforeExpand -= new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand); advTreeProcSets.BeforeExpand += new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand); // position to the procedure set in the tree if we have a procedure open diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.cs b/PROMS/Volian.Controls.Library/DisplaySearch.cs index 0ddb5b59..dbca6c18 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.cs @@ -468,7 +468,9 @@ namespace Volian.Controls.Library lastLastFormatID = fv.FormatID; } } + cbxTranVersion.SelectedIndexChanged -= new EventHandler(cbxTranVersion_SelectedIndexChanged); cbxTranVersion.SelectedIndexChanged += new EventHandler(cbxTranVersion_SelectedIndexChanged); + cbxTranFormat.SelectedIndexChanged -= new EventHandler(cbxTranFormat_SelectedIndexChanged); cbxTranFormat.SelectedIndexChanged += new EventHandler(cbxTranFormat_SelectedIndexChanged); } this.Cursor = Cursors.Default; @@ -892,6 +894,7 @@ namespace Volian.Controls.Library topnode.DataKey = fi.FolderID; } + advTreeProcSets.BeforeExpand -= new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand); advTreeProcSets.BeforeExpand += new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand); // position to the procedure set in the tree if we have a procedure open @@ -986,6 +989,7 @@ namespace Volian.Controls.Library annoTypes.Add(new AnnotationTypeSearch(ati.Name, ati.TypeID.ToString())); cbxAnnoTypes.DisplayMember = "Name"; cbxAnnoTypes.DataSource = annoTypes; + lbSrchResults.MouseMove -= new MouseEventHandler(lbSrchResults_MouseMove); lbSrchResults.MouseMove += new MouseEventHandler(lbSrchResults_MouseMove); _TabControl = tc; } diff --git a/PROMS/Volian.Controls.Library/DisplayTabControl.cs b/PROMS/Volian.Controls.Library/DisplayTabControl.cs index 4d6dbda8..c516993f 100644 --- a/PROMS/Volian.Controls.Library/DisplayTabControl.cs +++ b/PROMS/Volian.Controls.Library/DisplayTabControl.cs @@ -378,7 +378,10 @@ namespace Volian.Controls.Library { _MyStepRTB = _MyEditItem.MyStepRTB; if (_MyStepRTB != null) + { + _MyStepRTB.Disposed -= new EventHandler(_MyStepRTB_Disposed); _MyStepRTB.Disposed += new EventHandler(_MyStepRTB_Disposed); + } } else _MyStepRTB = null; @@ -469,6 +472,7 @@ namespace Volian.Controls.Library myBar.DockTabControl.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; myBar.DockTabControl.Width = ClientRectangle.Width; } + myBar.DockTabClosing -= new DockTabClosingEventHandler(myBar_DockTabClosing); myBar.DockTabClosing += new DockTabClosingEventHandler(myBar_DockTabClosing); if (!myBar.Visible) myBar.Visible = true; diff --git a/PROMS/Volian.Controls.Library/DisplayTransition.cs b/PROMS/Volian.Controls.Library/DisplayTransition.cs index bab8747c..5134ecbb 100644 --- a/PROMS/Volian.Controls.Library/DisplayTransition.cs +++ b/PROMS/Volian.Controls.Library/DisplayTransition.cs @@ -566,6 +566,7 @@ namespace Volian.Controls.Library startitm = startitm.GetNext(); } if (!setsel2) tvTran.SelectedNode = tvTran.Nodes[0]; + tvTran.BeforeExpand -= new TreeViewCancelEventHandler(tvTran_BeforeExpand); 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++; @@ -599,6 +600,7 @@ namespace Volian.Controls.Library startitm = startitm.GetNext(); } if (!setsel) tvTran.SelectedNode = tvTran.Nodes[0]; + tvTran.BeforeExpand -= new TreeViewCancelEventHandler(tvTran_BeforeExpand); 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++; diff --git a/PROMS/Volian.Controls.Library/EditItem.cs b/PROMS/Volian.Controls.Library/EditItem.cs index e5b2677d..8181c1c1 100644 --- a/PROMS/Volian.Controls.Library/EditItem.cs +++ b/PROMS/Volian.Controls.Library/EditItem.cs @@ -214,10 +214,14 @@ namespace Volian.Controls.Library UserCheckOffChar = (char)co.UIMark; } // Deal with changes in content data + value.MyContent.Changed -= new ContentInfoEvent(MyContent_Changed); value.MyContent.Changed += new ContentInfoEvent(MyContent_Changed); + value.MyProcedure.MyContent.Changed -= new ContentInfoEvent(MyContent_Changed); value.MyProcedure.MyContent.Changed += new ContentInfoEvent(MyContent_Changed); // Deal with change in item data + value.Changed -= new ItemInfoEvent(value_Changed); value.Changed += new ItemInfoEvent(value_Changed); + value.OrdinalChanged -= new ItemInfoEvent(value_OrdinalChanged); value.OrdinalChanged += new ItemInfoEvent(value_OrdinalChanged); // do something like this to draw circle around step numbers - note got NULL reference error on NSP data //if (value.FormatStepData != null && value.FormatStepData.TabData.IdentPrint.Contains("C0")) Circle = true; @@ -3997,9 +4001,13 @@ namespace Volian.Controls.Library if (!itemInfo.IsStep) // C2025-036 reduce un-needed processing - this will prevent duplicat calls that generate step tabs when loading a procedure SetupHeader(itemInfo); SetupAlarmTableView(itemInfo); // C2021-018 display alarm point table information in the step editor (if the format flag is set) + this.Paint -= new PaintEventHandler(EditItem_Paint); this.Paint += new PaintEventHandler(EditItem_Paint); + this.BackColorChanged -= new EventHandler(EditItem_BackColorChanged); this.BackColorChanged += new EventHandler(EditItem_BackColorChanged); + this.Move -= new EventHandler(EditItem_Move); this.Move += new EventHandler(EditItem_Move); + this.Resize -= new EventHandler(EditItem_Resize); this.Resize += new EventHandler(EditItem_Resize); if (itemInfo != null) { @@ -4050,6 +4058,7 @@ namespace Volian.Controls.Library SeqLevel = myParentEditItem.SeqLevel + ((myChildRelation == ChildRelation.After || myChildRelation == ChildRelation.Before) && itemInfo.IsSequential ? 1 : 0); //// TIMING: DisplayItem.TimeIt("CSLARTB seqLevel"); MyItemInfo = itemInfo; + MyItemInfo.MyConfig.PropertyChanged -= new PropertyChangedEventHandler(MyConfig_PropertyChanged); MyItemInfo.MyConfig.PropertyChanged += new PropertyChangedEventHandler(MyConfig_PropertyChanged); } //// TIMING: DisplayItem.TimeIt("CSLARTB MyItem"); From 139f7bbd0aa883670e9888b07ea87fa7760b0760 Mon Sep 17 00:00:00 2001 From: John Jenko Date: Tue, 15 Jul 2025 15:25:52 -0400 Subject: [PATCH 4/4] F2025-017 Created a new cover page type for Wolf Creek Single Column format. --- PROMS/Formats/fmtall/WCN1all.xml | Bin 95018 -> 99634 bytes PROMS/Formats/genmacall/wcn1.svg | Bin 13398 -> 13910 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/PROMS/Formats/fmtall/WCN1all.xml b/PROMS/Formats/fmtall/WCN1all.xml index b5a3891b94bec4e1b6ebf4cb127e9a4548eb8398..d9b5f92a9f3ff0d070db1eb4cddadff9adad28c7 100644 GIT binary patch delta 520 zcmZ4WjCE5NTf-K{UzXDt8ClpB7{GA)e_2N5$@|W#O}>}FHaSRGXtL9zbCW&h2u=Pn zrDt;1Jb}sAw(w1k5ayYlq|0bAdEI#zuw;sO4YK59qwRW=k6Z}BDtBnJ%;Xyv8^Cf$ z-nF6Wlbft^xddY24pcK2ZIYQTpuxxnv^M@qI#wlzHfv3uaqvoY8i<$uc*K(B