Compare commits
6 Commits
F2025-040_
...
Code_Clean
| Author | SHA1 | Date | |
|---|---|---|---|
| 97fc02b601 | |||
| 9485403712 | |||
| caeead0bc0 | |||
| f93204e37e | |||
| e6af91c6ab | |||
| c89428eed8 |
Binary file not shown.
@@ -5380,6 +5380,8 @@ namespace VEPROMS
|
||||
private void btnUpdateFormat_Click(object sender, EventArgs e)
|
||||
{
|
||||
UpdateFormats(null);
|
||||
//C2025-060 When format is updated in PROMS, auto-update the format cache so it doesn't require exiting PROMS and going back in.
|
||||
RefreshFormats(sender, null);
|
||||
}
|
||||
|
||||
private void UpdateFormats(string mypath)
|
||||
|
||||
@@ -1667,7 +1667,18 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
}
|
||||
Clipboard.Clear();
|
||||
Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard
|
||||
|
||||
//Try to update the data object to persist beyond PROMS life
|
||||
//if can't, log it and use old method of scoping clipboard to PROMS life
|
||||
try
|
||||
{
|
||||
Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_MyLog.Warn($"Error Setting Clipboard Object to Persist beyond PROMS. Clipboard will be scoped to PROMS. Error:{ex.Message}");
|
||||
Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
|
||||
}
|
||||
}
|
||||
iData = Clipboard.GetDataObject();
|
||||
bool noEquationData = true;
|
||||
|
||||
Reference in New Issue
Block a user