From dbd75e5ae236423e071259d2644116813a55f9b8 Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 1 Sep 2009 14:30:02 +0000 Subject: [PATCH] --- .../frmVEPROMS.Designer.cs | 225 +++++++++--------- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 63 +++++ PROMS/VEPROMS User Interface/frmVEPROMS.resx | 9 +- .../frmVersionsProperties.cs | 2 +- 4 files changed, 180 insertions(+), 119 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs index 2f676ab3..e10bc705 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs @@ -84,21 +84,16 @@ namespace VEPROMS this.labelItem1 = new DevComponents.DotNetBar.LabelItem(); this.btnItemInfo = new DevComponents.DotNetBar.ButtonItem(); this.epAnnotations = new DevComponents.DotNetBar.ExpandablePanel(); - this.ctrlAnnotationDetails = new Volian.Controls.Library.AnnotationDetails(); this.btnAnnoDetailsPushPin = new DevComponents.DotNetBar.ButtonX(); this.expandablePanel2 = new DevComponents.DotNetBar.ExpandablePanel(); - this.tv = new Volian.Controls.Library.vlnTreeView(); this.infoPanel = new DevComponents.DotNetBar.ExpandablePanel(); this.infoTabs = new DevComponents.DotNetBar.TabControl(); this.infotabControlPanelTags = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); - this.displayTags = new Volian.Controls.Library.DisplayTags(); this.infotabTags = new DevComponents.DotNetBar.TabItem(this.components); this.infotabControlPanelTransitions = new DevComponents.DotNetBar.TabControlPanel(); - this.displayTransition = new Volian.Controls.Library.DisplayTransition(); this.infotabTransition = new DevComponents.DotNetBar.TabItem(this.components); this.infotabControlPanelRO = new DevComponents.DotNetBar.TabControlPanel(); - this.displayRO = new Volian.Controls.Library.DisplayRO(); this.infotabRO = new DevComponents.DotNetBar.TabItem(this.components); this.navigationPanePanel2 = new DevComponents.DotNetBar.NavigationPanePanel(); this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter(); @@ -110,19 +105,24 @@ namespace VEPROMS this.toolsPanel = new DevComponents.DotNetBar.ExpandablePanel(); this.toolsTabs = new DevComponents.DotNetBar.TabControl(); this.annotationSearch = new DevComponents.DotNetBar.TabControlPanel(); - this.displaySearch1 = new Volian.Controls.Library.DisplaySearch(); this.toolstabResults = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); - this.displayBookMarks = new Volian.Controls.Library.DisplayBookMarks(); this.toolsTabBookMarks = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanelLD = new DevComponents.DotNetBar.TabControlPanel(); - this.displayLibDocs = new Volian.Controls.Library.DisplayLibDocs(); this.tabItemLibDocs = new DevComponents.DotNetBar.TabItem(this.components); this.expandableSplitter4 = new DevComponents.DotNetBar.ExpandableSplitter(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.tc = new Volian.Controls.Library.DisplayTabControl(); + this.displayTags = new Volian.Controls.Library.DisplayTags(); + this.displayTransition = new Volian.Controls.Library.DisplayTransition(); + this.displayRO = new Volian.Controls.Library.DisplayRO(); + this.displaySearch1 = new Volian.Controls.Library.DisplaySearch(); + this.displayBookMarks = new Volian.Controls.Library.DisplayBookMarks(); + this.displayLibDocs = new Volian.Controls.Library.DisplayLibDocs(); + this.tv = new Volian.Controls.Library.vlnTreeView(); + this.ctrlAnnotationDetails = new Volian.Controls.Library.AnnotationDetails(); ((System.ComponentModel.ISupportInitialize)(this.bottomBar)).BeginInit(); this.epAnnotations.SuspendLayout(); this.expandablePanel2.SuspendLayout(); @@ -615,6 +615,7 @@ namespace VEPROMS this.superTooltip1.SetSuperTooltip(this.btnGetRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Object Values", "", "This will update the RO Values in this procedure set.\r\n\r\nThis button will become " + "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.btnGetRoVals.Text = "Update RO Values"; + this.btnGetRoVals.Click += new System.EventHandler(this.btnGetRoVals_Click); // // labelItem1 // @@ -661,20 +662,6 @@ namespace VEPROMS this.epAnnotations.TitleStyle.GradientAngle = 90; this.epAnnotations.TitleText = "Annotation Details"; // - // ctrlAnnotationDetails - // - this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" + - "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n"; - this.ctrlAnnotationDetails.Annotations = null; - this.ctrlAnnotationDetails.AnnotationText = ""; - this.ctrlAnnotationDetails.CurrentAnnotation = null; - this.ctrlAnnotationDetails.Dock = System.Windows.Forms.DockStyle.Fill; - this.ctrlAnnotationDetails.Location = new System.Drawing.Point(0, 26); - this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2); - this.ctrlAnnotationDetails.Name = "ctrlAnnotationDetails"; - this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1187, 0); - this.ctrlAnnotationDetails.TabIndex = 15; - // // btnAnnoDetailsPushPin // this.btnAnnoDetailsPushPin.AccessibleRole = System.Windows.Forms.AccessibleRole.CheckButton; @@ -725,20 +712,6 @@ namespace VEPROMS this.expandablePanel2.TitleStyle.GradientAngle = 90; this.expandablePanel2.TitleText = "Procedures"; // - // tv - // - this.tv.AllowDrop = true; - this.tv.Dock = System.Windows.Forms.DockStyle.Fill; - this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tv.HideSelection = false; - this.tv.Location = new System.Drawing.Point(0, 26); - this.tv.Name = "tv"; - this.tv.Size = new System.Drawing.Size(30, 637); - this.tv.TabIndex = 1; - this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); - this.tv.Click += new System.EventHandler(this.tv_Click); - this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); - // // infoPanel // this.infoPanel.CanvasColor = System.Drawing.SystemColors.Control; @@ -824,17 +797,6 @@ namespace VEPROMS this.panelEx1.Style.ForeColor.Color = System.Drawing.Color.Transparent; this.panelEx1.TabIndex = 1; // - // displayTags - // - this.displayTags.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.displayTags.Dock = System.Windows.Forms.DockStyle.Top; - this.displayTags.Location = new System.Drawing.Point(0, 0); - this.displayTags.Margin = new System.Windows.Forms.Padding(2); - this.displayTags.MyRTB = null; - this.displayTags.Name = "displayTags"; - this.displayTags.Size = new System.Drawing.Size(201, 500); - this.displayTags.TabIndex = 0; - // // infotabTags // this.infotabTags.AttachedControl = this.infotabControlPanelTags; @@ -861,20 +823,6 @@ namespace VEPROMS this.infotabControlPanelTransitions.ThemeAware = true; this.infotabControlPanelTransitions.Click += new System.EventHandler(this.infotabTransition_Click); // - // displayTransition - // - this.displayTransition.AutoSize = true; - this.displayTransition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.displayTransition.CurTrans = null; - this.displayTransition.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayTransition.Location = new System.Drawing.Point(1, 1); - this.displayTransition.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.displayTransition.MyRTB = null; - this.displayTransition.Name = "displayTransition"; - this.displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor; - this.displayTransition.Size = new System.Drawing.Size(201, 635); - this.displayTransition.TabIndex = 0; - // // infotabTransition // this.infotabTransition.AttachedControl = this.infotabControlPanelTransitions; @@ -900,20 +848,6 @@ namespace VEPROMS this.infotabControlPanelRO.TabItem = this.infotabRO; this.infotabControlPanelRO.ThemeAware = true; // - // displayRO - // - this.displayRO.CurROLink = null; - this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayRO.Location = new System.Drawing.Point(1, 1); - this.displayRO.Margin = new System.Windows.Forms.Padding(4); - this.displayRO.Mydvi = null; - this.displayRO.MyROFST = null; - this.displayRO.MyRTB = null; - this.displayRO.Name = "displayRO"; - this.displayRO.ProgressBar = null; - this.displayRO.Size = new System.Drawing.Size(201, 635); - this.displayRO.TabIndex = 0; - // // infotabRO // this.infotabRO.AttachedControl = this.infotabControlPanelRO; @@ -1112,21 +1046,6 @@ namespace VEPROMS this.annotationSearch.TabItem = this.toolstabResults; this.annotationSearch.ThemeAware = true; // - // displaySearch1 - // - this.displaySearch1.Dock = System.Windows.Forms.DockStyle.Fill; - this.displaySearch1.LoadingList = false; - this.displaySearch1.Location = new System.Drawing.Point(1, 1); - this.displaySearch1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.displaySearch1.Mydocversion = null; - this.displaySearch1.MyROFSTLookup = null; - this.displaySearch1.Name = "displaySearch1"; - this.displaySearch1.ProgressBar = null; - this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.displaySearch1.SearchResults = null; - this.displaySearch1.Size = new System.Drawing.Size(314, 635); - this.displaySearch1.TabIndex = 0; - // // toolstabResults // this.toolstabResults.AttachedControl = this.annotationSearch; @@ -1169,16 +1088,6 @@ namespace VEPROMS this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.Transparent; this.panelEx3.TabIndex = 3; // - // displayBookMarks - // - this.displayBookMarks.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayBookMarks.Location = new System.Drawing.Point(0, 0); - this.displayBookMarks.MyDisplayTabControl = null; - this.displayBookMarks.MyRTB = null; - this.displayBookMarks.Name = "displayBookMarks"; - this.displayBookMarks.Size = new System.Drawing.Size(314, 635); - this.displayBookMarks.TabIndex = 0; - // // toolsTabBookMarks // this.toolsTabBookMarks.AttachedControl = this.tabControlPanel2; @@ -1202,18 +1111,6 @@ namespace VEPROMS this.tabControlPanelLD.TabItem = this.tabItemLibDocs; this.tabControlPanelLD.ThemeAware = true; // - // displayLibDocs - // - this.displayLibDocs.AutoScroll = true; - this.displayLibDocs.CurLibDoc = null; - this.displayLibDocs.Dock = System.Windows.Forms.DockStyle.Fill; - this.displayLibDocs.LibDocList = null; - this.displayLibDocs.Location = new System.Drawing.Point(1, 1); - this.displayLibDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.displayLibDocs.Name = "displayLibDocs"; - this.displayLibDocs.Size = new System.Drawing.Size(314, 635); - this.displayLibDocs.TabIndex = 0; - // // tabItemLibDocs // this.tabItemLibDocs.AttachedControl = this.tabControlPanelLD; @@ -1282,6 +1179,110 @@ namespace VEPROMS this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran); this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO); // + // displayTags + // + this.displayTags.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.displayTags.Dock = System.Windows.Forms.DockStyle.Top; + this.displayTags.Location = new System.Drawing.Point(0, 0); + this.displayTags.Margin = new System.Windows.Forms.Padding(2); + this.displayTags.MyRTB = null; + this.displayTags.Name = "displayTags"; + this.displayTags.Size = new System.Drawing.Size(201, 500); + this.displayTags.TabIndex = 0; + // + // displayTransition + // + this.displayTransition.AutoSize = true; + this.displayTransition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.displayTransition.CurTrans = null; + this.displayTransition.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayTransition.Location = new System.Drawing.Point(1, 1); + this.displayTransition.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.displayTransition.MyRTB = null; + this.displayTransition.Name = "displayTransition"; + this.displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor; + this.displayTransition.Size = new System.Drawing.Size(201, 635); + this.displayTransition.TabIndex = 0; + // + // displayRO + // + this.displayRO.CurROLink = null; + this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayRO.Location = new System.Drawing.Point(1, 1); + this.displayRO.Margin = new System.Windows.Forms.Padding(4); + this.displayRO.Mydvi = null; + this.displayRO.MyROFST = null; + this.displayRO.MyRTB = null; + this.displayRO.Name = "displayRO"; + this.displayRO.ProgressBar = null; + this.displayRO.Size = new System.Drawing.Size(201, 635); + this.displayRO.TabIndex = 0; + // + // displaySearch1 + // + this.displaySearch1.Dock = System.Windows.Forms.DockStyle.Fill; + this.displaySearch1.LoadingList = false; + this.displaySearch1.Location = new System.Drawing.Point(1, 1); + this.displaySearch1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.displaySearch1.Mydocversion = null; + this.displaySearch1.MyROFSTLookup = null; + this.displaySearch1.Name = "displaySearch1"; + this.displaySearch1.ProgressBar = null; + this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.displaySearch1.SearchResults = null; + this.displaySearch1.Size = new System.Drawing.Size(314, 635); + this.displaySearch1.TabIndex = 0; + // + // displayBookMarks + // + this.displayBookMarks.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayBookMarks.Location = new System.Drawing.Point(0, 0); + this.displayBookMarks.MyDisplayTabControl = null; + this.displayBookMarks.MyRTB = null; + this.displayBookMarks.Name = "displayBookMarks"; + this.displayBookMarks.Size = new System.Drawing.Size(314, 635); + this.displayBookMarks.TabIndex = 0; + // + // displayLibDocs + // + this.displayLibDocs.AutoScroll = true; + this.displayLibDocs.CurLibDoc = null; + this.displayLibDocs.Dock = System.Windows.Forms.DockStyle.Fill; + this.displayLibDocs.LibDocList = null; + this.displayLibDocs.Location = new System.Drawing.Point(1, 1); + this.displayLibDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.displayLibDocs.Name = "displayLibDocs"; + this.displayLibDocs.Size = new System.Drawing.Size(314, 635); + this.displayLibDocs.TabIndex = 0; + // + // tv + // + this.tv.AllowDrop = true; + this.tv.Dock = System.Windows.Forms.DockStyle.Fill; + this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.tv.HideSelection = false; + this.tv.Location = new System.Drawing.Point(0, 26); + this.tv.Name = "tv"; + this.tv.Size = new System.Drawing.Size(30, 637); + this.tv.TabIndex = 1; + this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); + this.tv.Click += new System.EventHandler(this.tv_Click); + this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); + // + // ctrlAnnotationDetails + // + this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" + + "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n"; + this.ctrlAnnotationDetails.Annotations = null; + this.ctrlAnnotationDetails.AnnotationText = ""; + this.ctrlAnnotationDetails.CurrentAnnotation = null; + this.ctrlAnnotationDetails.Dock = System.Windows.Forms.DockStyle.Fill; + this.ctrlAnnotationDetails.Location = new System.Drawing.Point(0, 26); + this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2); + this.ctrlAnnotationDetails.Name = "ctrlAnnotationDetails"; + this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1187, 0); + this.ctrlAnnotationDetails.TabIndex = 15; + // // frmVEPROMS // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index f3137161..df9e39d1 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -7,6 +7,7 @@ using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; +using System.IO; using VEPROMS.CSLA.Library; //using Csla; using DevComponents; @@ -845,6 +846,7 @@ namespace VEPROMS // When infotabTags is set to InVisible, the matching panel also needs to be set to invisible infotabControlPanelTags.Visible = false; SelectedStepTabPanel = null; + btnGetRoVals.Enabled = false; } else { @@ -859,6 +861,7 @@ namespace VEPROMS displayRO.MyRTB = null; infotabTags.Visible = true; displayBookMarks.MyRTB = null; + btnGetRoVals.Enabled = false; //vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem); } else @@ -883,6 +886,7 @@ namespace VEPROMS displayBookMarks.MyRTB = args.MyStepItem.MyStepRTB; displayRO.ProgressBar = bottomProgBar; lblEditView.Text = args.MyStepItem.MyStepRTB.ViewRTB ? "View" : "Edit"; + btnGetRoVals.Enabled = true; } if(tc.SelectedDisplayTabItem != null) SelectedStepTabPanel = ((DisplayTabItem)tc.SelectedDisplayTabItem).MyStepTabPanel; @@ -1180,5 +1184,64 @@ namespace VEPROMS frmPropGrid pg = new frmPropGrid(tc.SelectedDisplayTabItem.SelectedItemInfo, tc.SelectedDisplayTabItem.SelectedItemInfo.Path); pg.Show(); } + + private void btnGetRoVals_Click(object sender, EventArgs e) + { + if (_CurrentItem == null) + { + MessageBox.Show("A step item is not selected, cannot update the RO Values."); + return; + } + ItemInfo pi = _CurrentItem.MyProcedure as ItemInfo; + if (pi == null) + { + MessageBox.Show("Cannot find the procedure that this step item is assocaited with, cannot update the RO Values."); + return; + } + DocVersionInfo mydocversion = pi.ActiveParent as DocVersionInfo; + if (mydocversion == null) + { + MessageBox.Show("Cannot find document version for this selection, cannot update the RO Values."); + return; + } + + // use rodb directory path of the first rofst for the this document version. Bring up a file + // selection dialog starting with this path. The user can select another path. + // RHM question - we talked about just using the current path, but what is the current path when + // a docversion can have more than one rofst (for now, just use first?) - should I bring up a dialog? + if (mydocversion.DocVersionAssociations.Count < 1) + { + MessageBox.Show("Error Updating ro.fst. No associated ro.fst"); + return; + } + using (DocVersion dv = DocVersion.Get(mydocversion.VersionID)) + { + foreach (DocVersionAssociation dva in dv.DocVersionAssociations) + { + RODbInfo rdi = RODbInfo.Get(dva.ROFst_RODbID); + + string rofstPath = rdi.FolderPath + @"\ro.fst"; + if (!File.Exists(rofstPath)) + { + MessageBox.Show("No existing ro.fst in path " + rdi.FolderPath + ". Check for invalid path"); + break; + } + FileInfo fiRofst = new FileInfo(rofstPath); + if (SelectedROFst.DTS == fiRofst.LastWriteTime) + { + MessageBox.Show("ro.fst files are same for path " + rdi.FolderPath + ", import of that ro.fst will not be done"); + break; + } + if (SelectedROFst.DTS > fiRofst.LastWriteTime) + { + MessageBox.Show("Cannot copy older ro.fst from " + rdi.FolderPath + ", import of that ro.fst will not be done"); + break; + } + Cursor = Cursors.WaitCursor; + ROFst newrofst = ROFstInfo.UpdateRoFst(rdi, dva, dv, SelectedROFst); + Cursor = Cursors.Default; + } + } + } } } diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.resx b/PROMS/VEPROMS User Interface/frmVEPROMS.resx index a5b525aa..8dea02a9 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.resx +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.resx @@ -418,9 +418,6 @@ AAAASUVORK5CYII= - - 17, 17 - iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 @@ -438,6 +435,9 @@ xEIuN0NaYMRFSStyc/XIOVeP7OwbwuC/DttTndZHyfwEqUAcJPrJM0kAAAAASUVORK5CYII= + + 17, 17 + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 @@ -506,9 +506,6 @@ rkJggg== - - 17, 17 - 402, 17 diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index 086cff4a..52925d0c 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -682,7 +682,7 @@ namespace VEPROMS break; } Cursor = Cursors.WaitCursor; - ROFst newrofst = ROFstInfo.UpdateRoFst(rdi, dva, _DocVersionConfig.MyDocVersion); + ROFst newrofst = ROFstInfo.UpdateRoFst(rdi, dva, _DocVersionConfig.MyDocVersion, SelectedROFst); Cursor = Cursors.Default; } }