From 5e43a8501b21006d6a909904a97fc51275f83f75 Mon Sep 17 00:00:00 2001 From: mschill Date: Mon, 27 Jan 2025 16:09:19 -0500 Subject: [PATCH] =?UTF-8?q?B2025-010=20PROMS=20=E2=80=93=20Change=20ID=20I?= =?UTF-8?q?ssues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing the change id via backspaces in the change id box in the step properties panel can cause PROMS to crash. Also, it doesn’t always remove the change id properly. Changing this to instead of updating every time text changes in the box, adding a save button. Also, adding some null exception error handling. --- PROMS/VEPROMS.CSLA.Library/Generated/Item.cs | 2 +- .../DisplayTags.Designer.cs | 1590 +++++++++-------- PROMS/Volian.Controls.Library/DisplayTags.cs | 70 +- 3 files changed, 839 insertions(+), 823 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs b/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs index 225453f4..91c6263d 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/Item.cs @@ -105,7 +105,7 @@ namespace VEPROMS.CSLA.Library if (tmp._MyContent != null) { ContentInfo.Refresh(tmp._MyContent); - if (tmp._MyContent.MyImage != null) ImageInfo.Refresh(tmp._MyContent.MyImage); + if (tmp._MyContent?.MyImage != null) ImageInfo.Refresh(tmp._MyContent.MyImage); } ItemInfo.Refresh(tmp); } diff --git a/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs b/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs index a4a86d63..9f6a14d8 100644 --- a/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs @@ -28,808 +28,817 @@ namespace Volian.Controls.Library /// private void InitializeComponent() { - this.groupPanelPaginate = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.cbPrefPageBreak = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbPageBreak = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbCAS = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cmbCheckoff = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.cmbShwRplWds = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.groupPanelCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.groupPanelcmbShwRplWds = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.cbInitialLine = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.groupPanelChgBar = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tbChgID = new System.Windows.Forms.TextBox(); - this.lblChgId = new System.Windows.Forms.Label(); - this.rbChgBarOff = new System.Windows.Forms.RadioButton(); - this.rbChgBarOn = new System.Windows.Forms.RadioButton(); - this.groupPanelChgStepType = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.lblNoTypeChgReason = new DevComponents.DotNetBar.LabelX(); - this.cbChgAll = new System.Windows.Forms.CheckBox(); - this.listBoxStepTypes = new System.Windows.Forms.ListBox(); - this.superTooltipTags = new DevComponents.DotNetBar.SuperTooltip(); - this.cbPlaceKeeperCont = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbPlaceKeeper = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbIncludeInTOC = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.cbTCAS = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.groupPanelIncludeOn = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.groupPanelWcnTrnResp = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tbRespons = new System.Windows.Forms.TextBox(); - this.groupPanelFigSize = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.btnFSrestore = new System.Windows.Forms.Button(); - this.trBarFS = new System.Windows.Forms.TrackBar(); - this.btnFsSav = new System.Windows.Forms.Button(); - this.tbFSHt = new System.Windows.Forms.TextBox(); - this.tbFSWd = new System.Windows.Forms.TextBox(); - this.lblFSHt = new System.Windows.Forms.Label(); - this.lblFSWidth = new System.Windows.Forms.Label(); - this.groupPanelPaginate.SuspendLayout(); - this.groupPanelCheckoff.SuspendLayout(); - this.groupPanelcmbShwRplWds.SuspendLayout(); - this.groupPanelChgBar.SuspendLayout(); - this.groupPanelChgStepType.SuspendLayout(); - this.groupPanelIncludeOn.SuspendLayout(); - this.groupPanelWcnTrnResp.SuspendLayout(); - this.groupPanelFigSize.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.trBarFS)).BeginInit(); - this.SuspendLayout(); - // - // groupPanelPaginate - // - this.groupPanelPaginate.BackColor = System.Drawing.Color.Transparent; - this.groupPanelPaginate.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelPaginate.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelPaginate.Controls.Add(this.cbPrefPageBreak); - this.groupPanelPaginate.Controls.Add(this.cbPageBreak); - this.groupPanelPaginate.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelPaginate.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelPaginate.Location = new System.Drawing.Point(0, 339); - this.groupPanelPaginate.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelPaginate.Name = "groupPanelPaginate"; - this.groupPanelPaginate.Size = new System.Drawing.Size(202, 58); - // - // - // - this.groupPanelPaginate.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelPaginate.Style.BackColorGradientAngle = 90; - this.groupPanelPaginate.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelPaginate.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelPaginate.Style.BorderBottomWidth = 1; - this.groupPanelPaginate.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelPaginate.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelPaginate.Style.BorderLeftWidth = 1; - this.groupPanelPaginate.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelPaginate.Style.BorderRightWidth = 1; - this.groupPanelPaginate.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelPaginate.Style.BorderTopWidth = 1; - this.groupPanelPaginate.Style.CornerDiameter = 4; - this.groupPanelPaginate.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelPaginate.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelPaginate.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelPaginate.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelPaginate.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelPaginate.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelPaginate.TabIndex = 11; - this.groupPanelPaginate.Text = "Pagination"; - // - // cbPrefPageBreak - // - this.cbPrefPageBreak.AutoSize = true; - // - // - // - this.cbPrefPageBreak.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbPrefPageBreak.Location = new System.Drawing.Point(3, 19); - this.cbPrefPageBreak.Margin = new System.Windows.Forms.Padding(2); - this.cbPrefPageBreak.Name = "cbPrefPageBreak"; - this.cbPrefPageBreak.Size = new System.Drawing.Size(195, 15); - this.superTooltipTags.SetSuperTooltip(this.cbPrefPageBreak, new DevComponents.DotNetBar.SuperTooltipInfo("Preferred Page Break for Supplemental Info", "", "When set, starts this step at the top of a page.\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbPrefPageBreak.TabIndex = 1; - this.cbPrefPageBreak.Text = "Preferred Page Break (for Sup Info)"; - this.cbPrefPageBreak.CheckedChanged += new System.EventHandler(this.cbPrefPageBreak_CheckedChanged); - // - // cbPageBreak - // - this.cbPageBreak.AutoSize = true; - // - // - // - this.cbPageBreak.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbPageBreak.Location = new System.Drawing.Point(3, 2); - this.cbPageBreak.Margin = new System.Windows.Forms.Padding(2); - this.cbPageBreak.Name = "cbPageBreak"; - this.cbPageBreak.Size = new System.Drawing.Size(122, 15); - this.superTooltipTags.SetSuperTooltip(this.cbPageBreak, new DevComponents.DotNetBar.SuperTooltipInfo("Manual Page Break", "", "When set, starts this step at the top of a page.\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbPageBreak.TabIndex = 0; - this.cbPageBreak.Text = "Manual Page Break"; - this.cbPageBreak.CheckedChanged += new System.EventHandler(this.cbPageBreak_CheckedChanged); - // - // cbCAS - // - this.cbCAS.AutoSize = true; - this.cbCAS.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbCAS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbCAS.Location = new System.Drawing.Point(3, 1); - this.cbCAS.Margin = new System.Windows.Forms.Padding(2); - this.cbCAS.Name = "cbCAS"; - this.cbCAS.Size = new System.Drawing.Size(162, 15); - this.superTooltipTags.SetSuperTooltip(this.cbCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Continuous Action Summary", "", "Include this in the Continuous Action Summary section\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbCAS.TabIndex = 1; - this.cbCAS.Text = "Continuous Action Summary"; - this.cbCAS.CheckedChanged += new System.EventHandler(this.cbCAS_CheckedChanged); - // - // cmbCheckoff - // - this.cmbCheckoff.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.cbCAS.TabIndex = 1; + this.cbCAS.Text = "Continuous Action Summary"; + this.cbCAS.CheckedChanged += new System.EventHandler(this.cbCAS_CheckedChanged); + // + // cmbCheckoff + // + this.cmbCheckoff.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.cmbCheckoff.DisplayMember = "Text"; - this.cmbCheckoff.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cmbCheckoff.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCheckoff.FormattingEnabled = true; - this.cmbCheckoff.ItemHeight = 17; - this.cmbCheckoff.Location = new System.Drawing.Point(3, 17); - this.cmbCheckoff.Margin = new System.Windows.Forms.Padding(2); - this.cmbCheckoff.Name = "cmbCheckoff"; - this.cmbCheckoff.Size = new System.Drawing.Size(194, 23); - this.cmbCheckoff.TabIndex = 0; - this.cmbCheckoff.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cmbCheckoff.WatermarkText = "select signoff / checkoff"; - this.cmbCheckoff.SelectedIndexChanged += new System.EventHandler(this.cmbCheckoff_SelectedIndexChanged); - // - // cmbShwRplWds - // - this.cmbShwRplWds.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.cmbCheckoff.DisplayMember = "Text"; + this.cmbCheckoff.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cmbCheckoff.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCheckoff.FormattingEnabled = true; + this.cmbCheckoff.ItemHeight = 17; + this.cmbCheckoff.Location = new System.Drawing.Point(3, 17); + this.cmbCheckoff.Margin = new System.Windows.Forms.Padding(2); + this.cmbCheckoff.Name = "cmbCheckoff"; + this.cmbCheckoff.Size = new System.Drawing.Size(194, 23); + this.cmbCheckoff.TabIndex = 0; + this.cmbCheckoff.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cmbCheckoff.WatermarkText = "select signoff / checkoff"; + this.cmbCheckoff.SelectedIndexChanged += new System.EventHandler(this.cmbCheckoff_SelectedIndexChanged); + // + // cmbShwRplWds + // + this.cmbShwRplWds.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.cmbShwRplWds.DisplayMember = "Text"; - this.cmbShwRplWds.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cmbShwRplWds.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbShwRplWds.FormattingEnabled = true; - this.cmbShwRplWds.ItemHeight = 17; - this.cmbShwRplWds.Location = new System.Drawing.Point(3, 17); - this.cmbShwRplWds.Margin = new System.Windows.Forms.Padding(2); - this.cmbShwRplWds.Name = "cmbShwRplWds"; - this.cmbShwRplWds.Size = new System.Drawing.Size(194, 23); - this.cmbShwRplWds.TabIndex = 0; - this.cmbShwRplWds.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cmbShwRplWds.WatermarkText = "Show Replace Words"; - this.cmbShwRplWds.SelectedIndexChanged += new System.EventHandler(this.cmbShwRplWds_SelectedIndexChanged); - this.cmbShwRplWds.Items.Add(""); - this.cmbShwRplWds.Items.Add("Inherit from Section"); - this.cmbShwRplWds.Items.Add("Show replace words"); - this.cmbShwRplWds.Items.Add("Do not show replace words"); - // - // groupPanelCheckoff - // - this.groupPanelCheckoff.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelCheckoff.Controls.Add(this.cbInitialLine); - this.groupPanelCheckoff.Controls.Add(this.cmbCheckoff); - this.groupPanelCheckoff.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelCheckoff.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 145); - this.groupPanelCheckoff.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelCheckoff.Name = "groupPanelCheckoff"; - this.groupPanelCheckoff.Size = new System.Drawing.Size(202, 86); - // - // - // - this.groupPanelCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelCheckoff.Style.BackColorGradientAngle = 90; - this.groupPanelCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelCheckoff.Style.BorderBottomWidth = 1; - this.groupPanelCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelCheckoff.Style.BorderLeftWidth = 1; - this.groupPanelCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelCheckoff.Style.BorderRightWidth = 1; - this.groupPanelCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelCheckoff.Style.BorderTopWidth = 1; - this.groupPanelCheckoff.Style.CornerDiameter = 4; - this.groupPanelCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelCheckoff.TabIndex = 8; - this.groupPanelCheckoff.Text = "Signoff / Checkoff"; - this.groupPanelCheckoff.VisibleChanged += new System.EventHandler(this.groupPanelCheckoff_VisibleChanged); - // - // groupPanelcmbShwRplWds - // - this.groupPanelcmbShwRplWds.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelcmbShwRplWds.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelcmbShwRplWds.Controls.Add(this.cbInitialLine); - //this.groupPanelcmbShwRplWds.Controls.Add(this.cmbCheckoff); - this.groupPanelcmbShwRplWds.Controls.Add(this.cmbShwRplWds); - this.groupPanelcmbShwRplWds.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelcmbShwRplWds.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelcmbShwRplWds.Location = new System.Drawing.Point(0, 145); - this.groupPanelcmbShwRplWds.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelcmbShwRplWds.Name = "groupPanelcmbShwRplWds"; - this.groupPanelcmbShwRplWds.Size = new System.Drawing.Size(202, 86); - // - // - // - this.groupPanelcmbShwRplWds.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelcmbShwRplWds.Style.BackColorGradientAngle = 90; - this.groupPanelcmbShwRplWds.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelcmbShwRplWds.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelcmbShwRplWds.Style.BorderBottomWidth = 1; - this.groupPanelcmbShwRplWds.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelcmbShwRplWds.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelcmbShwRplWds.Style.BorderLeftWidth = 1; - this.groupPanelcmbShwRplWds.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelcmbShwRplWds.Style.BorderRightWidth = 1; - this.groupPanelcmbShwRplWds.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelcmbShwRplWds.Style.BorderTopWidth = 1; - this.groupPanelcmbShwRplWds.Style.CornerDiameter = 4; - this.groupPanelcmbShwRplWds.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelcmbShwRplWds.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelcmbShwRplWds.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelcmbShwRplWds.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelcmbShwRplWds.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelcmbShwRplWds.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelcmbShwRplWds.TabIndex = 8; - this.groupPanelcmbShwRplWds.Text = "Show Replace Words"; - this.groupPanelcmbShwRplWds.VisibleChanged += new System.EventHandler(this.groupPanelcmbShwRplWds_VisibleChanged); - // - // cbInitialLine - // - this.cbInitialLine.AutoSize = true; - this.cbInitialLine.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbInitialLine.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbInitialLine.Location = new System.Drawing.Point(3, 44); - this.cbInitialLine.Margin = new System.Windows.Forms.Padding(2); - this.cbInitialLine.Name = "cbInitialLine"; - this.cbInitialLine.Size = new System.Drawing.Size(112, 15); - this.superTooltipTags.SetSuperTooltip(this.cbInitialLine, new DevComponents.DotNetBar.SuperTooltipInfo("Manual Page Break", "", "When set, starts this step at the top of a page.\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbInitialLine.TabIndex = 1; - this.cbInitialLine.Text = "Disable Initial Line"; - this.cbInitialLine.Visible = false; - this.cbInitialLine.CheckedChanged += new System.EventHandler(this.cbInitialLine_CheckedChanged); - // - // groupPanelChgBar - // - this.groupPanelChgBar.BackColor = System.Drawing.Color.Transparent; - this.groupPanelChgBar.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelChgBar.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelChgBar.Controls.Add(this.tbChgID); - this.groupPanelChgBar.Controls.Add(this.lblChgId); - this.groupPanelChgBar.Controls.Add(this.rbChgBarOff); - this.groupPanelChgBar.Controls.Add(this.rbChgBarOn); - this.groupPanelChgBar.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelChgBar.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelChgBar.Location = new System.Drawing.Point(0, 231); - this.groupPanelChgBar.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelChgBar.Name = "groupPanelChgBar"; - this.groupPanelChgBar.Size = new System.Drawing.Size(202, 108); - // - // - // - this.groupPanelChgBar.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelChgBar.Style.BackColorGradientAngle = 90; - this.groupPanelChgBar.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelChgBar.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgBar.Style.BorderBottomWidth = 1; - this.groupPanelChgBar.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelChgBar.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgBar.Style.BorderLeftWidth = 1; - this.groupPanelChgBar.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgBar.Style.BorderRightWidth = 1; - this.groupPanelChgBar.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgBar.Style.BorderTopWidth = 1; - this.groupPanelChgBar.Style.CornerDiameter = 4; - this.groupPanelChgBar.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelChgBar.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelChgBar.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelChgBar.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelChgBar.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelChgBar.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.superTooltipTags.SetSuperTooltip(this.groupPanelChgBar, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bars", "", "This allows you to toggle the change bar on/off.\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.groupPanelChgBar.TabIndex = 18; - this.groupPanelChgBar.Text = "Change Bar"; - // - // tbChgID - // - this.tbChgID.Location = new System.Drawing.Point(0, 67); - this.tbChgID.Margin = new System.Windows.Forms.Padding(2); - this.tbChgID.Name = "tbChgID"; - this.tbChgID.Size = new System.Drawing.Size(81, 20); - this.tbChgID.TabIndex = 4; - this.tbChgID.TextChanged += new System.EventHandler(this.tbChgID_TextChanged); - // - // lblChgId - // - this.lblChgId.AutoSize = true; - this.lblChgId.Location = new System.Drawing.Point(0, 52); - this.lblChgId.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.lblChgId.Name = "lblChgId"; - this.lblChgId.Size = new System.Drawing.Size(58, 13); - this.lblChgId.TabIndex = 3; - this.lblChgId.Text = "Change ID"; - // - // rbChgBarOff - // - this.rbChgBarOff.AutoSize = true; - this.rbChgBarOff.Location = new System.Drawing.Point(0, 26); - this.rbChgBarOff.Margin = new System.Windows.Forms.Padding(2); - this.rbChgBarOff.Name = "rbChgBarOff"; - this.rbChgBarOff.Size = new System.Drawing.Size(45, 17); - this.superTooltipTags.SetSuperTooltip(this.rbChgBarOff, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar OFF", "", "Turn change bar off. Note that \'OVERRIDE\' will turn off a change bar even though" + + this.cbInitialLine.TabIndex = 1; + this.cbInitialLine.Text = "Disable Initial Line"; + this.cbInitialLine.Visible = false; + this.cbInitialLine.CheckedChanged += new System.EventHandler(this.cbInitialLine_CheckedChanged); + // + // groupPanelcmbShwRplWds + // + this.groupPanelcmbShwRplWds.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelcmbShwRplWds.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelcmbShwRplWds.Controls.Add(this.cbInitialLine); + this.groupPanelcmbShwRplWds.Controls.Add(this.cmbShwRplWds); + this.groupPanelcmbShwRplWds.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelcmbShwRplWds.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelcmbShwRplWds.Location = new System.Drawing.Point(0, 145); + this.groupPanelcmbShwRplWds.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelcmbShwRplWds.Name = "groupPanelcmbShwRplWds"; + this.groupPanelcmbShwRplWds.Size = new System.Drawing.Size(202, 86); + // + // + // + this.groupPanelcmbShwRplWds.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelcmbShwRplWds.Style.BackColorGradientAngle = 90; + this.groupPanelcmbShwRplWds.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelcmbShwRplWds.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelcmbShwRplWds.Style.BorderBottomWidth = 1; + this.groupPanelcmbShwRplWds.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelcmbShwRplWds.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelcmbShwRplWds.Style.BorderLeftWidth = 1; + this.groupPanelcmbShwRplWds.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelcmbShwRplWds.Style.BorderRightWidth = 1; + this.groupPanelcmbShwRplWds.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelcmbShwRplWds.Style.BorderTopWidth = 1; + this.groupPanelcmbShwRplWds.Style.CornerDiameter = 4; + this.groupPanelcmbShwRplWds.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelcmbShwRplWds.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelcmbShwRplWds.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelcmbShwRplWds.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelcmbShwRplWds.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelcmbShwRplWds.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelcmbShwRplWds.TabIndex = 8; + this.groupPanelcmbShwRplWds.Text = "Show Replace Words"; + this.groupPanelcmbShwRplWds.VisibleChanged += new System.EventHandler(this.groupPanelcmbShwRplWds_VisibleChanged); + // + // groupPanelChgBar + // + this.groupPanelChgBar.BackColor = System.Drawing.Color.Transparent; + this.groupPanelChgBar.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelChgBar.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelChgBar.Controls.Add(this.btnSaveChangeID); + this.groupPanelChgBar.Controls.Add(this.tbChgID); + this.groupPanelChgBar.Controls.Add(this.lblChgId); + this.groupPanelChgBar.Controls.Add(this.rbChgBarOff); + this.groupPanelChgBar.Controls.Add(this.rbChgBarOn); + this.groupPanelChgBar.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelChgBar.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelChgBar.Location = new System.Drawing.Point(0, 317); + this.groupPanelChgBar.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelChgBar.Name = "groupPanelChgBar"; + this.groupPanelChgBar.Size = new System.Drawing.Size(202, 108); + // + // + // + this.groupPanelChgBar.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelChgBar.Style.BackColorGradientAngle = 90; + this.groupPanelChgBar.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelChgBar.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgBar.Style.BorderBottomWidth = 1; + this.groupPanelChgBar.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelChgBar.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgBar.Style.BorderLeftWidth = 1; + this.groupPanelChgBar.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgBar.Style.BorderRightWidth = 1; + this.groupPanelChgBar.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgBar.Style.BorderTopWidth = 1; + this.groupPanelChgBar.Style.CornerDiameter = 4; + this.groupPanelChgBar.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelChgBar.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelChgBar.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelChgBar.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelChgBar.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelChgBar.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.superTooltipTags.SetSuperTooltip(this.groupPanelChgBar, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bars", "", "This allows you to toggle the change bar on/off.\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.groupPanelChgBar.TabIndex = 18; + this.groupPanelChgBar.Text = "Change Bar"; + // + // tbChgID + // + this.tbChgID.Location = new System.Drawing.Point(0, 67); + this.tbChgID.Margin = new System.Windows.Forms.Padding(2); + this.tbChgID.Name = "tbChgID"; + this.tbChgID.Size = new System.Drawing.Size(81, 20); + this.tbChgID.TabIndex = 4; + // + // lblChgId + // + this.lblChgId.AutoSize = true; + this.lblChgId.Location = new System.Drawing.Point(0, 52); + this.lblChgId.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.lblChgId.Name = "lblChgId"; + this.lblChgId.Size = new System.Drawing.Size(58, 13); + this.lblChgId.TabIndex = 3; + this.lblChgId.Text = "Change ID"; + // + // rbChgBarOff + // + this.rbChgBarOff.AutoSize = true; + this.rbChgBarOff.Location = new System.Drawing.Point(0, 26); + this.rbChgBarOff.Margin = new System.Windows.Forms.Padding(2); + this.rbChgBarOff.Name = "rbChgBarOff"; + this.rbChgBarOff.Size = new System.Drawing.Size(45, 17); + this.superTooltipTags.SetSuperTooltip(this.rbChgBarOff, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar OFF", "", "Turn change bar off. Note that \'OVERRIDE\' will turn off a change bar even though" + " text is changed.\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.rbChgBarOff.TabIndex = 2; - this.rbChgBarOff.TabStop = true; - this.rbChgBarOff.Text = "OFF"; - this.rbChgBarOff.UseVisualStyleBackColor = true; - this.rbChgBarOff.CheckedChanged += new System.EventHandler(this.rbChgBarOvrRideOff_CheckedChanged); - // - // rbChgBarOn - // - this.rbChgBarOn.AutoSize = true; - this.rbChgBarOn.Location = new System.Drawing.Point(0, 4); - this.rbChgBarOn.Margin = new System.Windows.Forms.Padding(2); - this.rbChgBarOn.Name = "rbChgBarOn"; - this.rbChgBarOn.Size = new System.Drawing.Size(41, 17); - this.superTooltipTags.SetSuperTooltip(this.rbChgBarOn, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar ON", "", "Add a change bar on this step\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.rbChgBarOn.TabIndex = 1; - this.rbChgBarOn.TabStop = true; - this.rbChgBarOn.Text = "ON"; - this.rbChgBarOn.UseVisualStyleBackColor = true; - this.rbChgBarOn.CheckedChanged += new System.EventHandler(this.rbChgBarOvrRideOn_CheckedChanged); - // - // groupPanelChgStepType - // - this.groupPanelChgStepType.BackColor = System.Drawing.SystemColors.Control; - this.groupPanelChgStepType.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelChgStepType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelChgStepType.Controls.Add(this.lblNoTypeChgReason); - this.groupPanelChgStepType.Controls.Add(this.cbChgAll); - this.groupPanelChgStepType.Controls.Add(this.listBoxStepTypes); - this.groupPanelChgStepType.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelChgStepType.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelChgStepType.Location = new System.Drawing.Point(0, 0); - this.groupPanelChgStepType.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelChgStepType.Name = "groupPanelChgStepType"; - this.groupPanelChgStepType.Size = new System.Drawing.Size(202, 145); - // - // - // - this.groupPanelChgStepType.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelChgStepType.Style.BackColorGradientAngle = 90; - this.groupPanelChgStepType.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelChgStepType.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgStepType.Style.BorderBottomWidth = 1; - this.groupPanelChgStepType.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelChgStepType.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgStepType.Style.BorderLeftWidth = 1; - this.groupPanelChgStepType.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgStepType.Style.BorderRightWidth = 1; - this.groupPanelChgStepType.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelChgStepType.Style.BorderTopWidth = 1; - this.groupPanelChgStepType.Style.CornerDiameter = 4; - this.groupPanelChgStepType.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelChgStepType.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelChgStepType.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelChgStepType.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelChgStepType.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelChgStepType.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelChgStepType.TabIndex = 19; - this.groupPanelChgStepType.Text = "Change Step Type"; - // - // lblNoTypeChgReason - // - this.lblNoTypeChgReason.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.rbChgBarOff.TabIndex = 2; + this.rbChgBarOff.TabStop = true; + this.rbChgBarOff.Text = "OFF"; + this.rbChgBarOff.UseVisualStyleBackColor = true; + this.rbChgBarOff.CheckedChanged += new System.EventHandler(this.rbChgBarOvrRideOff_CheckedChanged); + // + // rbChgBarOn + // + this.rbChgBarOn.AutoSize = true; + this.rbChgBarOn.Location = new System.Drawing.Point(0, 4); + this.rbChgBarOn.Margin = new System.Windows.Forms.Padding(2); + this.rbChgBarOn.Name = "rbChgBarOn"; + this.rbChgBarOn.Size = new System.Drawing.Size(41, 17); + this.superTooltipTags.SetSuperTooltip(this.rbChgBarOn, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar ON", "", "Add a change bar on this step\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.rbChgBarOn.TabIndex = 1; + this.rbChgBarOn.TabStop = true; + this.rbChgBarOn.Text = "ON"; + this.rbChgBarOn.UseVisualStyleBackColor = true; + this.rbChgBarOn.CheckedChanged += new System.EventHandler(this.rbChgBarOvrRideOn_CheckedChanged); + // + // groupPanelChgStepType + // + this.groupPanelChgStepType.BackColor = System.Drawing.SystemColors.Control; + this.groupPanelChgStepType.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelChgStepType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelChgStepType.Controls.Add(this.lblNoTypeChgReason); + this.groupPanelChgStepType.Controls.Add(this.cbChgAll); + this.groupPanelChgStepType.Controls.Add(this.listBoxStepTypes); + this.groupPanelChgStepType.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelChgStepType.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelChgStepType.Location = new System.Drawing.Point(0, 0); + this.groupPanelChgStepType.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelChgStepType.Name = "groupPanelChgStepType"; + this.groupPanelChgStepType.Size = new System.Drawing.Size(202, 145); + // + // + // + this.groupPanelChgStepType.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelChgStepType.Style.BackColorGradientAngle = 90; + this.groupPanelChgStepType.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelChgStepType.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgStepType.Style.BorderBottomWidth = 1; + this.groupPanelChgStepType.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelChgStepType.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgStepType.Style.BorderLeftWidth = 1; + this.groupPanelChgStepType.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgStepType.Style.BorderRightWidth = 1; + this.groupPanelChgStepType.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelChgStepType.Style.BorderTopWidth = 1; + this.groupPanelChgStepType.Style.CornerDiameter = 4; + this.groupPanelChgStepType.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelChgStepType.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelChgStepType.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelChgStepType.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelChgStepType.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelChgStepType.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelChgStepType.TabIndex = 19; + this.groupPanelChgStepType.Text = "Change Step Type"; + // + // lblNoTypeChgReason + // + this.lblNoTypeChgReason.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.lblNoTypeChgReason.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.lblNoTypeChgReason.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblNoTypeChgReason.ForeColor = System.Drawing.Color.Red; - this.lblNoTypeChgReason.Location = new System.Drawing.Point(2, 28); - this.lblNoTypeChgReason.Margin = new System.Windows.Forms.Padding(2); - this.lblNoTypeChgReason.Name = "lblNoTypeChgReason"; - this.lblNoTypeChgReason.Size = new System.Drawing.Size(194, 96); - this.lblNoTypeChgReason.TabIndex = 5; - // - // cbChgAll - // - this.cbChgAll.AutoSize = true; - this.cbChgAll.BackColor = System.Drawing.Color.Transparent; - this.cbChgAll.Location = new System.Drawing.Point(2, 6); - this.cbChgAll.Margin = new System.Windows.Forms.Padding(2); - this.cbChgAll.Name = "cbChgAll"; - this.cbChgAll.Size = new System.Drawing.Size(119, 17); - this.superTooltipTags.SetSuperTooltip(this.cbChgAll, new DevComponents.DotNetBar.SuperTooltipInfo("Change Step Type - All At Level", "", "When checked, all steps at the level of current step will have their step type ch" + + this.lblNoTypeChgReason.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.lblNoTypeChgReason.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.lblNoTypeChgReason.ForeColor = System.Drawing.Color.Red; + this.lblNoTypeChgReason.Location = new System.Drawing.Point(2, 28); + this.lblNoTypeChgReason.Margin = new System.Windows.Forms.Padding(2); + this.lblNoTypeChgReason.Name = "lblNoTypeChgReason"; + this.lblNoTypeChgReason.Size = new System.Drawing.Size(194, 96); + this.lblNoTypeChgReason.TabIndex = 5; + // + // cbChgAll + // + this.cbChgAll.AutoSize = true; + this.cbChgAll.BackColor = System.Drawing.Color.Transparent; + this.cbChgAll.Location = new System.Drawing.Point(2, 6); + this.cbChgAll.Margin = new System.Windows.Forms.Padding(2); + this.cbChgAll.Name = "cbChgAll"; + this.cbChgAll.Size = new System.Drawing.Size(119, 17); + this.superTooltipTags.SetSuperTooltip(this.cbChgAll, new DevComponents.DotNetBar.SuperTooltipInfo("Change Step Type - All At Level", "", "When checked, all steps at the level of current step will have their step type ch" + "anged to the selected type in list below...", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbChgAll.TabIndex = 4; - this.cbChgAll.Text = "Change All At Level"; - this.cbChgAll.UseVisualStyleBackColor = false; - // - // listBoxStepTypes - // - this.listBoxStepTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.cbChgAll.TabIndex = 4; + this.cbChgAll.Text = "Change All At Level"; + this.cbChgAll.UseVisualStyleBackColor = false; + // + // listBoxStepTypes + // + this.listBoxStepTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.listBoxStepTypes.FormattingEnabled = true; - this.listBoxStepTypes.Location = new System.Drawing.Point(2, 28); - this.listBoxStepTypes.Margin = new System.Windows.Forms.Padding(2); - this.listBoxStepTypes.Name = "listBoxStepTypes"; - this.listBoxStepTypes.Size = new System.Drawing.Size(194, 95); - this.superTooltipTags.SetSuperTooltip(this.listBoxStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Possible Step Types", "", "This list allows change of type showing all selections of any possible step type " + + this.listBoxStepTypes.FormattingEnabled = true; + this.listBoxStepTypes.Location = new System.Drawing.Point(2, 28); + this.listBoxStepTypes.Margin = new System.Windows.Forms.Padding(2); + this.listBoxStepTypes.Name = "listBoxStepTypes"; + this.listBoxStepTypes.Size = new System.Drawing.Size(194, 95); + this.superTooltipTags.SetSuperTooltip(this.listBoxStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Possible Step Types", "", "This list allows change of type showing all selections of any possible step type " + "for the current step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.listBoxStepTypes.TabIndex = 3; - this.listBoxStepTypes.SelectedIndexChanged += new System.EventHandler(this.listBoxStepTypes_SelectedIndexChanged); - // - // superTooltipTags - // - this.superTooltipTags.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); - this.superTooltipTags.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - // - // cbPlaceKeeperCont - // - this.cbPlaceKeeperCont.AutoSize = true; - this.cbPlaceKeeperCont.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbPlaceKeeperCont.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbPlaceKeeperCont.Location = new System.Drawing.Point(3, 58); - this.cbPlaceKeeperCont.Margin = new System.Windows.Forms.Padding(2); - this.cbPlaceKeeperCont.Name = "cbPlaceKeeperCont"; - this.cbPlaceKeeperCont.Size = new System.Drawing.Size(158, 15); - this.superTooltipTags.SetSuperTooltip(this.cbPlaceKeeperCont, new DevComponents.DotNetBar.SuperTooltipInfo("Placekeeper Continuous Action", "", "Include this on the Placekeeper marked as a Continuous Action\r\n\r\nkeyboard command" + + this.listBoxStepTypes.TabIndex = 3; + this.listBoxStepTypes.SelectedIndexChanged += new System.EventHandler(this.listBoxStepTypes_SelectedIndexChanged); + // + // superTooltipTags + // + this.superTooltipTags.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); + this.superTooltipTags.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + // + // cbPlaceKeeperCont + // + this.cbPlaceKeeperCont.AutoSize = true; + this.cbPlaceKeeperCont.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbPlaceKeeperCont.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbPlaceKeeperCont.Location = new System.Drawing.Point(3, 58); + this.cbPlaceKeeperCont.Margin = new System.Windows.Forms.Padding(2); + this.cbPlaceKeeperCont.Name = "cbPlaceKeeperCont"; + this.cbPlaceKeeperCont.Size = new System.Drawing.Size(158, 15); + this.superTooltipTags.SetSuperTooltip(this.cbPlaceKeeperCont, new DevComponents.DotNetBar.SuperTooltipInfo("Placekeeper Continuous Action", "", "Include this on the Placekeeper marked as a Continuous Action\r\n\r\nkeyboard command" + ": ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbPlaceKeeperCont.TabIndex = 1; - this.cbPlaceKeeperCont.Text = "Placekeeper as Cont Action"; - this.cbPlaceKeeperCont.CheckedChanged += new System.EventHandler(this.cbPlaceKeeperCont_CheckedChanged); - // - // cbPlaceKeeper - // - this.cbPlaceKeeper.AutoSize = true; - this.cbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbPlaceKeeper.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbPlaceKeeper.Location = new System.Drawing.Point(3, 39); - this.cbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2); - this.cbPlaceKeeper.Name = "cbPlaceKeeper"; - this.cbPlaceKeeper.Size = new System.Drawing.Size(84, 15); - this.superTooltipTags.SetSuperTooltip(this.cbPlaceKeeper, new DevComponents.DotNetBar.SuperTooltipInfo("Placekeeper", "", "Include this on the Placekeeper\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbPlaceKeeper.TabIndex = 1; - this.cbPlaceKeeper.Text = "Placekeeper"; - this.cbPlaceKeeper.CheckedChanged += new System.EventHandler(this.cbPlacekeeper_CheckedChanged); - // - // cbIncludeInTOC - // - this.cbIncludeInTOC.AutoSize = true; - this.cbIncludeInTOC.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbIncludeInTOC.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbIncludeInTOC.Location = new System.Drawing.Point(2, 78); - this.cbIncludeInTOC.Margin = new System.Windows.Forms.Padding(2); - this.cbIncludeInTOC.Name = "cbIncludeInTOC"; - this.cbIncludeInTOC.Size = new System.Drawing.Size(109, 15); - this.cbIncludeInTOC.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.superTooltipTags.SetSuperTooltip(this.cbIncludeInTOC, new DevComponents.DotNetBar.SuperTooltipInfo("High Level Step in TOC", "", "Include this in the auto generated Table of Contents.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbIncludeInTOC.TabIndex = 2; - this.cbIncludeInTOC.Text = "Table of Contents"; - this.cbIncludeInTOC.CheckedChanged += new System.EventHandler(this.cbIncludeInTOC_CheckedChanged); - // - // cbTCAS - // - this.cbTCAS.AutoSize = true; - this.cbTCAS.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.cbTCAS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbTCAS.Location = new System.Drawing.Point(3, 20); - this.cbTCAS.Margin = new System.Windows.Forms.Padding(2); - this.cbTCAS.Name = "cbTCAS"; - this.cbTCAS.Size = new System.Drawing.Size(167, 15); - this.superTooltipTags.SetSuperTooltip(this.cbTCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Time Critical Action Summary", "", "Include this in the Time Critical Action Summary section", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbTCAS.TabIndex = 3; - this.cbTCAS.Text = "Time Critical Action Summary"; - this.cbTCAS.CheckedChanged += new System.EventHandler(this.cbTCAS_CheckedChanged); - // - // groupPanelIncludeOn - // - this.groupPanelIncludeOn.BackColor = System.Drawing.Color.Transparent; - this.groupPanelIncludeOn.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelIncludeOn.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelIncludeOn.Controls.Add(this.cbTCAS); - this.groupPanelIncludeOn.Controls.Add(this.cbIncludeInTOC); - this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeperCont); - this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeper); - this.groupPanelIncludeOn.Controls.Add(this.cbCAS); - this.groupPanelIncludeOn.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelIncludeOn.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelIncludeOn.Location = new System.Drawing.Point(0, 397); - this.groupPanelIncludeOn.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelIncludeOn.Name = "groupPanelIncludeOn"; - this.groupPanelIncludeOn.Size = new System.Drawing.Size(202, 121); - // - // - // - this.groupPanelIncludeOn.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelIncludeOn.Style.BackColorGradientAngle = 90; - this.groupPanelIncludeOn.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelIncludeOn.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelIncludeOn.Style.BorderBottomWidth = 1; - this.groupPanelIncludeOn.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelIncludeOn.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelIncludeOn.Style.BorderLeftWidth = 1; - this.groupPanelIncludeOn.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelIncludeOn.Style.BorderRightWidth = 1; - this.groupPanelIncludeOn.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelIncludeOn.Style.BorderTopWidth = 1; - this.groupPanelIncludeOn.Style.CornerDiameter = 4; - this.groupPanelIncludeOn.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelIncludeOn.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelIncludeOn.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelIncludeOn.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelIncludeOn.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelIncludeOn.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelIncludeOn.TabIndex = 17; - this.groupPanelIncludeOn.Text = "Include On"; - // - // groupPanelWcnTrnResp - // - this.groupPanelWcnTrnResp.BackColor = System.Drawing.Color.Transparent; - this.groupPanelWcnTrnResp.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelWcnTrnResp.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelWcnTrnResp.Controls.Add(this.tbRespons); - this.groupPanelWcnTrnResp.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelWcnTrnResp.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelWcnTrnResp.Location = new System.Drawing.Point(0, 518); - this.groupPanelWcnTrnResp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.groupPanelWcnTrnResp.Name = "groupPanelWcnTrnResp"; - this.groupPanelWcnTrnResp.Size = new System.Drawing.Size(202, 138); - // - // - // - this.groupPanelWcnTrnResp.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelWcnTrnResp.Style.BackColorGradientAngle = 90; - this.groupPanelWcnTrnResp.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelWcnTrnResp.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelWcnTrnResp.Style.BorderBottomWidth = 1; - this.groupPanelWcnTrnResp.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelWcnTrnResp.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelWcnTrnResp.Style.BorderLeftWidth = 1; - this.groupPanelWcnTrnResp.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelWcnTrnResp.Style.BorderRightWidth = 1; - this.groupPanelWcnTrnResp.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelWcnTrnResp.Style.BorderTopWidth = 1; - this.groupPanelWcnTrnResp.Style.CornerDiameter = 4; - this.groupPanelWcnTrnResp.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelWcnTrnResp.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelWcnTrnResp.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelWcnTrnResp.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelWcnTrnResp.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelWcnTrnResp.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelWcnTrnResp.TabIndex = 20; - this.groupPanelWcnTrnResp.Text = "Responsibilty"; - // - // tbRespons - // - this.tbRespons.Location = new System.Drawing.Point(27, 16); - this.tbRespons.Multiline = true; - this.tbRespons.Name = "tbRespons"; - this.tbRespons.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tbRespons.Size = new System.Drawing.Size(164, 81); - this.tbRespons.TabIndex = 0; - this.tbRespons.Leave += new System.EventHandler(this.tbRespons_Leave); - // - // groupPanelFigSize - // - this.groupPanelFigSize.BackColor = System.Drawing.Color.Transparent; - this.groupPanelFigSize.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelFigSize.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelFigSize.Controls.Add(this.btnFSrestore); - this.groupPanelFigSize.Controls.Add(this.trBarFS); - this.groupPanelFigSize.Controls.Add(this.btnFsSav); - this.groupPanelFigSize.Controls.Add(this.tbFSHt); - this.groupPanelFigSize.Controls.Add(this.tbFSWd); - this.groupPanelFigSize.Controls.Add(this.lblFSHt); - this.groupPanelFigSize.Controls.Add(this.lblFSWidth); - this.groupPanelFigSize.DisabledBackColor = System.Drawing.Color.Empty; - this.groupPanelFigSize.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelFigSize.Location = new System.Drawing.Point(0, 656); - this.groupPanelFigSize.Margin = new System.Windows.Forms.Padding(2); - this.groupPanelFigSize.Name = "groupPanelFigSize"; - this.groupPanelFigSize.Size = new System.Drawing.Size(202, 135); - // - // - // - this.groupPanelFigSize.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelFigSize.Style.BackColorGradientAngle = 90; - this.groupPanelFigSize.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelFigSize.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelFigSize.Style.BorderBottomWidth = 1; - this.groupPanelFigSize.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelFigSize.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelFigSize.Style.BorderLeftWidth = 1; - this.groupPanelFigSize.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelFigSize.Style.BorderRightWidth = 1; - this.groupPanelFigSize.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelFigSize.Style.BorderTopWidth = 1; - this.groupPanelFigSize.Style.CornerDiameter = 4; - this.groupPanelFigSize.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelFigSize.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelFigSize.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelFigSize.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelFigSize.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelFigSize.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelFigSize.TabIndex = 21; - this.groupPanelFigSize.Text = "Image Size"; - // - // btnFSrestore - // - this.btnFSrestore.Location = new System.Drawing.Point(112, 27); - this.btnFSrestore.Margin = new System.Windows.Forms.Padding(2); - this.btnFSrestore.Name = "btnFSrestore"; - this.btnFSrestore.Size = new System.Drawing.Size(54, 20); - this.btnFSrestore.TabIndex = 6; - this.btnFSrestore.Text = "Restore"; - this.btnFSrestore.UseVisualStyleBackColor = true; - this.btnFSrestore.Click += new System.EventHandler(this.btnFSrestore_Click); - // - // trBarFS - // - this.trBarFS.Location = new System.Drawing.Point(11, 58); - this.trBarFS.Margin = new System.Windows.Forms.Padding(2); - this.trBarFS.Maximum = 700; - this.trBarFS.Minimum = 50; - this.trBarFS.Name = "trBarFS"; - this.trBarFS.Size = new System.Drawing.Size(129, 45); - this.trBarFS.TabIndex = 5; - this.trBarFS.Value = 50; - this.trBarFS.Scroll += new System.EventHandler(this.trBarFS_Scroll); - // - // btnFsSav - // - this.btnFsSav.Location = new System.Drawing.Point(112, 2); - this.btnFsSav.Margin = new System.Windows.Forms.Padding(2); - this.btnFsSav.Name = "btnFsSav"; - this.btnFsSav.Size = new System.Drawing.Size(46, 20); - this.btnFsSav.TabIndex = 4; - this.btnFsSav.Text = "Set"; - this.btnFsSav.UseVisualStyleBackColor = true; - this.btnFsSav.Click += new System.EventHandler(this.btnFsSav_Click); - // - // tbFSHt - // - this.tbFSHt.Enabled = false; - this.tbFSHt.Location = new System.Drawing.Point(42, 27); - this.tbFSHt.Margin = new System.Windows.Forms.Padding(2); - this.tbFSHt.Name = "tbFSHt"; - this.tbFSHt.Size = new System.Drawing.Size(60, 20); - this.tbFSHt.TabIndex = 3; - // - // tbFSWd - // - this.tbFSWd.Location = new System.Drawing.Point(42, 4); - this.tbFSWd.Margin = new System.Windows.Forms.Padding(2); - this.tbFSWd.Name = "tbFSWd"; - this.tbFSWd.Size = new System.Drawing.Size(60, 20); - this.tbFSWd.TabIndex = 2; - this.tbFSWd.Leave += new System.EventHandler(this.tbFSWd_Leave); - // - // lblFSHt - // - this.lblFSHt.AutoSize = true; - this.lblFSHt.Location = new System.Drawing.Point(4, 28); - this.lblFSHt.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.lblFSHt.Name = "lblFSHt"; - this.lblFSHt.Size = new System.Drawing.Size(38, 13); - this.lblFSHt.TabIndex = 1; - this.lblFSHt.Text = "Height"; - // - // lblFSWidth - // - this.lblFSWidth.AutoSize = true; - this.lblFSWidth.Location = new System.Drawing.Point(4, 6); - this.lblFSWidth.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.lblFSWidth.Name = "lblFSWidth"; - this.lblFSWidth.Size = new System.Drawing.Size(35, 13); - this.lblFSWidth.TabIndex = 0; - this.lblFSWidth.Text = "Width"; - // - // DisplayTags - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.groupPanelFigSize); - this.Controls.Add(this.groupPanelWcnTrnResp); - this.Controls.Add(this.groupPanelIncludeOn); - this.Controls.Add(this.groupPanelPaginate); - this.Controls.Add(this.groupPanelChgBar); - this.Controls.Add(this.groupPanelCheckoff); - this.Controls.Add(this.groupPanelcmbShwRplWds); - this.Controls.Add(this.groupPanelChgStepType); - this.Margin = new System.Windows.Forms.Padding(2); - this.Name = "DisplayTags"; - this.Size = new System.Drawing.Size(202, 802); - this.groupPanelPaginate.ResumeLayout(false); - this.groupPanelPaginate.PerformLayout(); - this.groupPanelCheckoff.ResumeLayout(false); - this.groupPanelcmbShwRplWds.ResumeLayout(false); - this.groupPanelCheckoff.PerformLayout(); - this.groupPanelcmbShwRplWds.PerformLayout(); - this.groupPanelChgBar.ResumeLayout(false); - this.groupPanelChgBar.PerformLayout(); - this.groupPanelChgStepType.ResumeLayout(false); - this.groupPanelChgStepType.PerformLayout(); - this.groupPanelIncludeOn.ResumeLayout(false); - this.groupPanelIncludeOn.PerformLayout(); - this.groupPanelWcnTrnResp.ResumeLayout(false); - this.groupPanelWcnTrnResp.PerformLayout(); - this.groupPanelFigSize.ResumeLayout(false); - this.groupPanelFigSize.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.trBarFS)).EndInit(); - this.ResumeLayout(false); + this.cbPlaceKeeperCont.TabIndex = 1; + this.cbPlaceKeeperCont.Text = "Placekeeper as Cont Action"; + this.cbPlaceKeeperCont.CheckedChanged += new System.EventHandler(this.cbPlaceKeeperCont_CheckedChanged); + // + // cbPlaceKeeper + // + this.cbPlaceKeeper.AutoSize = true; + this.cbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbPlaceKeeper.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbPlaceKeeper.Location = new System.Drawing.Point(3, 39); + this.cbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2); + this.cbPlaceKeeper.Name = "cbPlaceKeeper"; + this.cbPlaceKeeper.Size = new System.Drawing.Size(84, 15); + this.superTooltipTags.SetSuperTooltip(this.cbPlaceKeeper, new DevComponents.DotNetBar.SuperTooltipInfo("Placekeeper", "", "Include this on the Placekeeper\r\n\r\nkeyboard command: ", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbPlaceKeeper.TabIndex = 1; + this.cbPlaceKeeper.Text = "Placekeeper"; + this.cbPlaceKeeper.CheckedChanged += new System.EventHandler(this.cbPlacekeeper_CheckedChanged); + // + // cbIncludeInTOC + // + this.cbIncludeInTOC.AutoSize = true; + this.cbIncludeInTOC.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbIncludeInTOC.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbIncludeInTOC.Location = new System.Drawing.Point(2, 78); + this.cbIncludeInTOC.Margin = new System.Windows.Forms.Padding(2); + this.cbIncludeInTOC.Name = "cbIncludeInTOC"; + this.cbIncludeInTOC.Size = new System.Drawing.Size(109, 15); + this.cbIncludeInTOC.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.superTooltipTags.SetSuperTooltip(this.cbIncludeInTOC, new DevComponents.DotNetBar.SuperTooltipInfo("High Level Step in TOC", "", "Include this in the auto generated Table of Contents.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbIncludeInTOC.TabIndex = 2; + this.cbIncludeInTOC.Text = "Table of Contents"; + this.cbIncludeInTOC.CheckedChanged += new System.EventHandler(this.cbIncludeInTOC_CheckedChanged); + // + // cbTCAS + // + this.cbTCAS.AutoSize = true; + this.cbTCAS.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbTCAS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbTCAS.Location = new System.Drawing.Point(3, 20); + this.cbTCAS.Margin = new System.Windows.Forms.Padding(2); + this.cbTCAS.Name = "cbTCAS"; + this.cbTCAS.Size = new System.Drawing.Size(167, 15); + this.superTooltipTags.SetSuperTooltip(this.cbTCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Time Critical Action Summary", "", "Include this in the Time Critical Action Summary section", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbTCAS.TabIndex = 3; + this.cbTCAS.Text = "Time Critical Action Summary"; + this.cbTCAS.CheckedChanged += new System.EventHandler(this.cbTCAS_CheckedChanged); + // + // groupPanelIncludeOn + // + this.groupPanelIncludeOn.BackColor = System.Drawing.Color.Transparent; + this.groupPanelIncludeOn.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelIncludeOn.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelIncludeOn.Controls.Add(this.cbTCAS); + this.groupPanelIncludeOn.Controls.Add(this.cbIncludeInTOC); + this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeperCont); + this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeper); + this.groupPanelIncludeOn.Controls.Add(this.cbCAS); + this.groupPanelIncludeOn.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelIncludeOn.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelIncludeOn.Location = new System.Drawing.Point(0, 483); + this.groupPanelIncludeOn.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelIncludeOn.Name = "groupPanelIncludeOn"; + this.groupPanelIncludeOn.Size = new System.Drawing.Size(202, 121); + // + // + // + this.groupPanelIncludeOn.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelIncludeOn.Style.BackColorGradientAngle = 90; + this.groupPanelIncludeOn.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelIncludeOn.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderBottomWidth = 1; + this.groupPanelIncludeOn.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelIncludeOn.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderLeftWidth = 1; + this.groupPanelIncludeOn.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderRightWidth = 1; + this.groupPanelIncludeOn.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderTopWidth = 1; + this.groupPanelIncludeOn.Style.CornerDiameter = 4; + this.groupPanelIncludeOn.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelIncludeOn.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelIncludeOn.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelIncludeOn.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelIncludeOn.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelIncludeOn.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelIncludeOn.TabIndex = 17; + this.groupPanelIncludeOn.Text = "Include On"; + // + // groupPanelWcnTrnResp + // + this.groupPanelWcnTrnResp.BackColor = System.Drawing.Color.Transparent; + this.groupPanelWcnTrnResp.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelWcnTrnResp.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelWcnTrnResp.Controls.Add(this.tbRespons); + this.groupPanelWcnTrnResp.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelWcnTrnResp.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelWcnTrnResp.Location = new System.Drawing.Point(0, 604); + this.groupPanelWcnTrnResp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.groupPanelWcnTrnResp.Name = "groupPanelWcnTrnResp"; + this.groupPanelWcnTrnResp.Size = new System.Drawing.Size(202, 138); + // + // + // + this.groupPanelWcnTrnResp.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelWcnTrnResp.Style.BackColorGradientAngle = 90; + this.groupPanelWcnTrnResp.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelWcnTrnResp.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelWcnTrnResp.Style.BorderBottomWidth = 1; + this.groupPanelWcnTrnResp.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelWcnTrnResp.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelWcnTrnResp.Style.BorderLeftWidth = 1; + this.groupPanelWcnTrnResp.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelWcnTrnResp.Style.BorderRightWidth = 1; + this.groupPanelWcnTrnResp.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelWcnTrnResp.Style.BorderTopWidth = 1; + this.groupPanelWcnTrnResp.Style.CornerDiameter = 4; + this.groupPanelWcnTrnResp.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelWcnTrnResp.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelWcnTrnResp.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelWcnTrnResp.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelWcnTrnResp.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelWcnTrnResp.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelWcnTrnResp.TabIndex = 20; + this.groupPanelWcnTrnResp.Text = "Responsibilty"; + // + // tbRespons + // + this.tbRespons.Location = new System.Drawing.Point(27, 16); + this.tbRespons.Multiline = true; + this.tbRespons.Name = "tbRespons"; + this.tbRespons.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.tbRespons.Size = new System.Drawing.Size(164, 81); + this.tbRespons.TabIndex = 0; + this.tbRespons.Leave += new System.EventHandler(this.tbRespons_Leave); + // + // groupPanelFigSize + // + this.groupPanelFigSize.BackColor = System.Drawing.Color.Transparent; + this.groupPanelFigSize.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelFigSize.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelFigSize.Controls.Add(this.btnFSrestore); + this.groupPanelFigSize.Controls.Add(this.trBarFS); + this.groupPanelFigSize.Controls.Add(this.btnFsSav); + this.groupPanelFigSize.Controls.Add(this.tbFSHt); + this.groupPanelFigSize.Controls.Add(this.tbFSWd); + this.groupPanelFigSize.Controls.Add(this.lblFSHt); + this.groupPanelFigSize.Controls.Add(this.lblFSWidth); + this.groupPanelFigSize.DisabledBackColor = System.Drawing.Color.Empty; + this.groupPanelFigSize.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelFigSize.Location = new System.Drawing.Point(0, 742); + this.groupPanelFigSize.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelFigSize.Name = "groupPanelFigSize"; + this.groupPanelFigSize.Size = new System.Drawing.Size(202, 135); + // + // + // + this.groupPanelFigSize.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelFigSize.Style.BackColorGradientAngle = 90; + this.groupPanelFigSize.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelFigSize.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelFigSize.Style.BorderBottomWidth = 1; + this.groupPanelFigSize.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelFigSize.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelFigSize.Style.BorderLeftWidth = 1; + this.groupPanelFigSize.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelFigSize.Style.BorderRightWidth = 1; + this.groupPanelFigSize.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelFigSize.Style.BorderTopWidth = 1; + this.groupPanelFigSize.Style.CornerDiameter = 4; + this.groupPanelFigSize.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelFigSize.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelFigSize.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelFigSize.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelFigSize.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelFigSize.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelFigSize.TabIndex = 21; + this.groupPanelFigSize.Text = "Image Size"; + // + // btnFSrestore + // + this.btnFSrestore.Location = new System.Drawing.Point(112, 27); + this.btnFSrestore.Margin = new System.Windows.Forms.Padding(2); + this.btnFSrestore.Name = "btnFSrestore"; + this.btnFSrestore.Size = new System.Drawing.Size(54, 20); + this.btnFSrestore.TabIndex = 6; + this.btnFSrestore.Text = "Restore"; + this.btnFSrestore.UseVisualStyleBackColor = true; + this.btnFSrestore.Click += new System.EventHandler(this.btnFSrestore_Click); + // + // trBarFS + // + this.trBarFS.Location = new System.Drawing.Point(11, 58); + this.trBarFS.Margin = new System.Windows.Forms.Padding(2); + this.trBarFS.Maximum = 700; + this.trBarFS.Minimum = 50; + this.trBarFS.Name = "trBarFS"; + this.trBarFS.Size = new System.Drawing.Size(129, 45); + this.trBarFS.TabIndex = 5; + this.trBarFS.Value = 50; + this.trBarFS.Scroll += new System.EventHandler(this.trBarFS_Scroll); + // + // btnFsSav + // + this.btnFsSav.Location = new System.Drawing.Point(112, 2); + this.btnFsSav.Margin = new System.Windows.Forms.Padding(2); + this.btnFsSav.Name = "btnFsSav"; + this.btnFsSav.Size = new System.Drawing.Size(46, 20); + this.btnFsSav.TabIndex = 4; + this.btnFsSav.Text = "Set"; + this.btnFsSav.UseVisualStyleBackColor = true; + this.btnFsSav.Click += new System.EventHandler(this.btnFsSav_Click); + // + // tbFSHt + // + this.tbFSHt.Enabled = false; + this.tbFSHt.Location = new System.Drawing.Point(42, 27); + this.tbFSHt.Margin = new System.Windows.Forms.Padding(2); + this.tbFSHt.Name = "tbFSHt"; + this.tbFSHt.Size = new System.Drawing.Size(60, 20); + this.tbFSHt.TabIndex = 3; + // + // tbFSWd + // + this.tbFSWd.Location = new System.Drawing.Point(42, 4); + this.tbFSWd.Margin = new System.Windows.Forms.Padding(2); + this.tbFSWd.Name = "tbFSWd"; + this.tbFSWd.Size = new System.Drawing.Size(60, 20); + this.tbFSWd.TabIndex = 2; + this.tbFSWd.Leave += new System.EventHandler(this.tbFSWd_Leave); + // + // lblFSHt + // + this.lblFSHt.AutoSize = true; + this.lblFSHt.Location = new System.Drawing.Point(4, 28); + this.lblFSHt.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.lblFSHt.Name = "lblFSHt"; + this.lblFSHt.Size = new System.Drawing.Size(38, 13); + this.lblFSHt.TabIndex = 1; + this.lblFSHt.Text = "Height"; + // + // lblFSWidth + // + this.lblFSWidth.AutoSize = true; + this.lblFSWidth.Location = new System.Drawing.Point(4, 6); + this.lblFSWidth.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.lblFSWidth.Name = "lblFSWidth"; + this.lblFSWidth.Size = new System.Drawing.Size(35, 13); + this.lblFSWidth.TabIndex = 0; + this.lblFSWidth.Text = "Width"; + // + // btnSaveChangeID + // + this.btnSaveChangeID.Location = new System.Drawing.Point(86, 65); + this.btnSaveChangeID.Name = "btnSaveChangeID"; + this.btnSaveChangeID.Size = new System.Drawing.Size(75, 23); + this.btnSaveChangeID.TabIndex = 5; + this.btnSaveChangeID.Text = "Save"; + this.btnSaveChangeID.UseVisualStyleBackColor = true; + this.btnSaveChangeID.Click += new System.EventHandler(this.btnSaveChangeID_Click); + // + // DisplayTags + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.groupPanelFigSize); + this.Controls.Add(this.groupPanelWcnTrnResp); + this.Controls.Add(this.groupPanelIncludeOn); + this.Controls.Add(this.groupPanelPaginate); + this.Controls.Add(this.groupPanelChgBar); + this.Controls.Add(this.groupPanelCheckoff); + this.Controls.Add(this.groupPanelcmbShwRplWds); + this.Controls.Add(this.groupPanelChgStepType); + this.Margin = new System.Windows.Forms.Padding(2); + this.Name = "DisplayTags"; + this.Size = new System.Drawing.Size(202, 802); + this.groupPanelPaginate.ResumeLayout(false); + this.groupPanelPaginate.PerformLayout(); + this.groupPanelCheckoff.ResumeLayout(false); + this.groupPanelcmbShwRplWds.ResumeLayout(false); + this.groupPanelcmbShwRplWds.PerformLayout(); + this.groupPanelChgBar.ResumeLayout(false); + this.groupPanelChgBar.PerformLayout(); + this.groupPanelChgStepType.ResumeLayout(false); + this.groupPanelChgStepType.PerformLayout(); + this.groupPanelIncludeOn.ResumeLayout(false); + this.groupPanelIncludeOn.PerformLayout(); + this.groupPanelWcnTrnResp.ResumeLayout(false); + this.groupPanelWcnTrnResp.PerformLayout(); + this.groupPanelFigSize.ResumeLayout(false); + this.groupPanelFigSize.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.trBarFS)).EndInit(); + this.ResumeLayout(false); } @@ -869,5 +878,6 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.Controls.CheckBoxX cbIncludeInTOC; private DevComponents.DotNetBar.Controls.CheckBoxX cbTCAS; private DevComponents.DotNetBar.Controls.CheckBoxX cbInitialLine; + private System.Windows.Forms.Button btnSaveChangeID; } } diff --git a/PROMS/Volian.Controls.Library/DisplayTags.cs b/PROMS/Volian.Controls.Library/DisplayTags.cs index f5504de2..a582db36 100644 --- a/PROMS/Volian.Controls.Library/DisplayTags.cs +++ b/PROMS/Volian.Controls.Library/DisplayTags.cs @@ -142,6 +142,7 @@ namespace Volian.Controls.Library tbChgID.Text = ""; tbChgID.Enabled = false; lblChgId.Visible = tbChgID.Visible = false; + btnSaveChangeID.Enabled = btnSaveChangeID.Visible = false; CurItemInfo = null; cbInitialLine.Visible = cbInitialLine.Enabled = false; @@ -521,9 +522,10 @@ namespace Volian.Controls.Library tbChgID.Text = sc1.Step_ChangeID; tbChgID.Enabled = true; lblChgId.Visible = tbChgID.Visible = true; + btnSaveChangeID.Enabled = btnSaveChangeID.Visible = true; } else - lblChgId.Visible = tbChgID.Visible = false; + lblChgId.Visible = tbChgID.Visible = btnSaveChangeID.Enabled = btnSaveChangeID.Visible = false; // Walk up tree until this step type's parentType is "Base". Start adding menuitems from this step type. StepData top = fmtdata.StepDataList[formatSteptype]; @@ -903,18 +905,6 @@ namespace Volian.Controls.Library } #endregion - private void tbChgID_TextChanged(object sender, EventArgs e) - { - MyEditItem.SaveContents(); - StepConfig sc = CurItemInfo.MyConfig as StepConfig; - // if the changeID changed, then reset the change bar override - // B2021-029: don't change changeid if the config & text box are both empty - if (sc.Step_ChangeID != tbChgID.Text && sc.Step_ChangeID != null && tbChgID.Text != "") - { - sc.Step_ChangeID = tbChgID.Text; - sc.Step_CBOverride = null; - } - } #region WCNTRN format // The following supports the Wolf Creek Training format/Responsibility data // off of the High Level Step @@ -1037,25 +1027,41 @@ namespace Volian.Controls.Library } - //private void txbxAltConActSumText_Leave(object sender, EventArgs e) - //{ - // // User left Atlernate Continuous Action Text field. If text changed, then prompt - // // to see if save should occur. - // StepConfig sc = CurItemInfo.MyConfig as StepConfig; - // if (sc == null) return; - // bool bothEmpty = (sc.Step_AlternateContActSumText == null || sc.Step_AlternateContActSumText == "") && (txbxAltConActSumText.Text == null || txbxAltConActSumText.Text == ""); - // if (!bothEmpty && sc.Step_AlternateContActSumText != txbxAltConActSumText.Text) - // { - // if (MessageBox.Show(this, "Do you want to save the Alternate Continuous Action Text?", "Confirm Save", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) - // { - // MyEditItem.SaveContents(); - // sc.Step_AlternateContActSumText = txbxAltConActSumText.Text; // this actually saves the config - // } - // else - // txbxAltConActSumText.Text = sc.Step_AlternateContActSumText; - // } + //B2025-010 PROMS -Fixed issues updating Changeid + // Changed to a Save button instead of onTextChanged + // Also was issue where sometimes would lave last character / digit (not allowing the change id to be completely removed) + private void btnSaveChangeID_Click(object sender, EventArgs e) + { + MyEditItem.SaveContents(); + StepConfig sc = CurItemInfo.MyConfig as StepConfig; + // if the changeID changed, then reset the change bar override + // B2021-029: don't change changeid if the config & text box are both empty + if (sc.Step_ChangeID != tbChgID.Text && (!string.IsNullOrEmpty(sc.Step_ChangeID) || !string.IsNullOrEmpty(tbChgID.Text))) + { + sc.Step_ChangeID = tbChgID.Text; + sc.Step_CBOverride = null; + } + } - //} + //private void txbxAltConActSumText_Leave(object sender, EventArgs e) + //{ + // // User left Atlernate Continuous Action Text field. If text changed, then prompt + // // to see if save should occur. + // StepConfig sc = CurItemInfo.MyConfig as StepConfig; + // if (sc == null) return; + // bool bothEmpty = (sc.Step_AlternateContActSumText == null || sc.Step_AlternateContActSumText == "") && (txbxAltConActSumText.Text == null || txbxAltConActSumText.Text == ""); + // if (!bothEmpty && sc.Step_AlternateContActSumText != txbxAltConActSumText.Text) + // { + // if (MessageBox.Show(this, "Do you want to save the Alternate Continuous Action Text?", "Confirm Save", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) + // { + // MyEditItem.SaveContents(); + // sc.Step_AlternateContActSumText = txbxAltConActSumText.Text; // this actually saves the config + // } + // else + // txbxAltConActSumText.Text = sc.Step_AlternateContActSumText; + // } - } + //} + + } }