Compare commits
4 Commits
Code_Clean
...
Developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| 149e114359 | |||
| 7d63e7e417 | |||
| d12e5d19c9 | |||
| 7a6b3b7a86 |
@@ -1668,18 +1668,8 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
Clipboard.Clear();
|
Clipboard.Clear();
|
||||||
|
|
||||||
//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
|
Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
|
||||||
}
|
}
|
||||||
}
|
|
||||||
iData = Clipboard.GetDataObject();
|
iData = Clipboard.GetDataObject();
|
||||||
bool noEquationData = true;
|
bool noEquationData = true;
|
||||||
// part of bug B2017-117 we were running out of window handles when printing, found this similar use of
|
// part of bug B2017-117 we were running out of window handles when printing, found this similar use of
|
||||||
|
|||||||
Reference in New Issue
Block a user