New Enhanced Document Properties

Fixed Find and Replace logic to keep it from getting into an infinite loop
Used new CSLA code to hanndle deletion of procedures with external transitions
New Enhanced Document properties
This commit is contained in:
Rich committed 2015-10-27 13:34:33 +00:00
1 parent e22458bd1a
commit 58e58083c2
7 files changed
+242 -197

No files matched your search

+8 -9
View File
@@ -455,8 +455,7 @@ namespace Volian.Controls.Library
if (!readOnlyStep)
{
StepConfig sc = new StepConfig(MyItemInfo.MyContent.Config);
//if (IsDerived(sc))
if (sc.Step_BackgroundToSource != null || sc.Step_DeviationToSource != null)
if (IsDerived(sc))
readOnlyStep = true;
}
ReadOnly = readOnlyStep || VwMode == E_ViewMode.View || ActiveMode == false;
@@ -542,13 +541,13 @@ namespace Volian.Controls.Library
AdjustSizeForContents(!ActiveMode);
}
// private bool IsDerived(StepConfig sc)
// {
// foreach (EnhancedDocument ed in sc.MyEnhancedDocuments)
// if (ed.Type == 0) //New Design
// return true;
// return false;
// }
private bool IsDerived(StepConfig sc)
{
foreach (EnhancedDocument ed in sc.MyEnhancedDocuments)
if (ed.Type == 0) //New Design
return true;
return false;
}
private bool _ProcessKeystrokes = true;
public bool ProcessKeystrokes
{