From bb99d6444c8f335214f2b9519ab0c7b3861b2540 Mon Sep 17 00:00:00 2001 From: Kevin Laskey Date: Tue, 4 Jun 2024 09:05:22 -0400 Subject: [PATCH 1/2] B2024-036 - Removed Print button from V Menu --- .../VEPROMS User Interface/frmVEPROMS.Designer.cs | 14 +------------- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 13 +------------ 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index ca2e8c7f..009956d3 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -45,7 +45,6 @@ namespace VEPROMS this.itemContainer3 = new DevComponents.DotNetBar.ItemContainer(); this.btnNew = new DevComponents.DotNetBar.ButtonItem(); this.btnOpen = new DevComponents.DotNetBar.ButtonItem(); - this.btnPrint = new DevComponents.DotNetBar.ButtonItem(); this.btnPrepare = new DevComponents.DotNetBar.ButtonItem(); this.btnAdmin = new DevComponents.DotNetBar.ButtonItem(); this.btnUpdateFormats = new DevComponents.DotNetBar.ButtonItem(); @@ -339,7 +338,6 @@ namespace VEPROMS this.itemContainer3.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnNew, this.btnOpen, - this.btnPrint, this.btnPrepare, this.btnAdmin}); // @@ -365,16 +363,7 @@ namespace VEPROMS this.btnOpen.SubItemsExpandWidth = 24; this.btnOpen.Text = "&Open..."; this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click); - // - // btnPrint - // - this.btnPrint.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; - this.btnPrint.Enabled = false; - this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image"))); - this.btnPrint.Name = "btnPrint"; - this.btnPrint.SubItemsExpandWidth = 24; - this.btnPrint.Text = "Create &PDF"; - this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); + // // btnPrepare // @@ -1646,7 +1635,6 @@ namespace VEPROMS private DevComponents.DotNetBar.ButtonItem btnNew; private DevComponents.DotNetBar.ButtonItem btnOpen; private DevComponents.DotNetBar.ButtonItem btnPrepare; - private DevComponents.DotNetBar.ButtonItem btnPrint; private DevComponents.DotNetBar.ItemContainer icRecentDocs; private DevComponents.DotNetBar.LabelItem labelItem8; private DevComponents.DotNetBar.ItemContainer itemContainer5; diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 5a053a74..3290cd6c 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -2098,7 +2098,6 @@ namespace VEPROMS btnAdministrativeTools.Click += new EventHandler(btnAdministrativeTools_Click); btnAdmin.SubItems.Add(btnAdministrativeTools); - this.superTooltip1.SetSuperTooltip(btnPrint, new SuperTooltipInfo("Create PDF", null, null, null, null, eTooltipColor.Gray)); this.superTooltip1.SetSuperTooltip(btnExit, new SuperTooltipInfo("Exit", null, null, null, null, eTooltipColor.Gray)); this.superTooltip1.SetSuperTooltip(btnOptions, new SuperTooltipInfo("Options", null, null, null, null, eTooltipColor.Gray)); this.superTooltip1.SetSuperTooltip(btnManageSecurity, new SuperTooltipInfo("Manage Security", null, null, null, null, eTooltipColor.Gray)); @@ -4114,10 +4113,6 @@ namespace VEPROMS lblUser.Text = tc.SelectedDisplayTabItem.MyUserRole; - if (tc.SelectedDisplayTabItem.MyItemInfo.MyDocVersion.MultiUnitCount > 1) - btnPrint.Visible = false; - else - btnPrint.Visible = true; // Reset the ribbon buttons B2016-148 (ex. a copystep done in a different procedure tab my require the paste step options to be active if (tc.SelectedDisplayTabItem != null && tc.SelectedDisplayTabItem.MyStepTabPanel != null) // MyStepTabPanel will be null if the active tab is a Word Attachment @@ -4372,7 +4367,6 @@ namespace VEPROMS ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem); // set the CurrentItem (send Message) when the MSWord section is opened. } - btnPrint.Enabled = (_CurrentItem != null); } void _LastStepRTB_EditModeChanged(object sender, EventArgs args) @@ -4864,12 +4858,7 @@ namespace VEPROMS StepRTB.MyFontFamily = cmbFont.SelectedValue as FontFamily; } - private void btnPrint_Click(object sender, EventArgs e) - { - DlgPrintProcedure prnDlg = new DlgPrintProcedure(this._CurrentItem.MyProcedure); - prnDlg.MySessionInfo = MySessionInfo; - prnDlg.ShowDialog(this); // RHM 20120925 - Center dialog over PROMS window - } + private void lblResolution_Click(object sender, EventArgs e) { From f5669e50a80307f28d6f470550800ff3c22e8670 Mon Sep 17 00:00:00 2001 From: John Jenko Date: Wed, 5 Jun 2024 16:27:08 -0400 Subject: [PATCH 2/2] F2024-063 Beaver Valley requested that the section number be underlined at the top of the pages of the Two Column Attachment section and an extra space was added between the top continue message and first line of step text on that page. --- PROMS/Formats/fmtall/BVPS1all.xml | Bin 133298 -> 133318 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/PROMS/Formats/fmtall/BVPS1all.xml b/PROMS/Formats/fmtall/BVPS1all.xml index 6a3c55855fae9202264c093d65c1eb5e970a6176..c8963e364b41a2507ac8a4f3040123a4c7e854e3 100644 GIT binary patch delta 72 zcmdlqk>l7zj)pCaGSSm77&Fe>z9E{?iWkJp*j#WjgmHRa1!L0oe_4zwwalgrrqe%m cFe*>K^N>-2*@D4h`o^V2