Equation Editor interface support
This commit is contained in:
1 parent
3e212834ea
commit
0b7371367c
26 files changed
+2129
-855
No files matched your search
@@ -618,6 +618,12 @@ namespace Volian.Controls.Library
|
||||
if (tn.Tag is ContentAuditInfo)
|
||||
{
|
||||
ContentAuditInfo cai = tn.Tag as ContentAuditInfo;
|
||||
// if original equation is restored, don't allow it because it is empty:
|
||||
if ((cai.Type > 20999 && cai.Type < 21010) && cai.ActionWhat.ToUpper() == "ORIGINAL")
|
||||
{
|
||||
MessageBox.Show(this, "Cannot restore original empty or new equation.", "Warning on restore", MessageBoxButtons.OK);
|
||||
return;
|
||||
}
|
||||
if (MessageBox.Show(this, "Do you want to restore this content change?", "Confirm Content Change Restore", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
ROFstInfo myRoFst = MyItemInfo.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||
|
||||
Reference in new issue
Block a user