Merge branch 'Development' into C2026-043-Tech-Debt_v1

This commit is contained in:
2026-10-01 10:12:01 -04:00
3 changed files with 20 additions and 3 deletions
@@ -163,7 +163,7 @@ namespace VEPROMS
}
if (MyFolder != null)
{
sfd.FileName = string.Format("{0}-{1}.expx", Database.ActiveDatabase, MyFolder.Name);
sfd.FileName = string.Format("{0}-{1}.expx", Database.ActiveDatabase, MyFolder.Name.Replace("/", "_").Replace("\\", "_"));
if (sfd.ShowDialog(this) == DialogResult.OK && sfd.FileName != string.Empty)
{
txtExport.Text = sfd.FileName;
+2 -1
View File
@@ -3110,7 +3110,8 @@ namespace VEPROMS
_MyLog.WarnFormat("===============Override Close====================");
}
tc.CloseTabItem(dti);
System.Threading.Thread.Sleep(500); //wait 1/2 a second to see if it closes on it's own
tc.CloseTabItem(dti);
}
_TimeActivity1.Close();
+17 -1
View File
@@ -3046,7 +3046,23 @@ namespace Volian.Controls.Library
// C2015-028 Add Editorial Mode to PROMS Step Editor
// if in Editorial Mode, treat it the same as if the EditorialSpellCheck flag is set in the Format file
bool editorialmode = (this.Parent.Parent.Parent as StepTabPanel).MyDisplayTabControl.IsInEditorialMode;
bool editorialmode;
try
{
StepTabPanel pnl = null;
Control tempcntrl = Parent;
while (tempcntrl != null && pnl == null)
{
tempcntrl = tempcntrl.Parent;
pnl = tempcntrl as StepTabPanel;
}
editorialmode = pnl.MyDisplayTabControl.IsInEditorialMode;
}
catch
{
editorialmode = false;
}
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck || editorialmode)
DidEditorialSpellCheck = MySpellCheckDlg.DidCorrectSpelling; // B2015-024 spell checker in editoral mode