C2024-002-Print-Sections
This commit is contained in:
@@ -950,6 +950,7 @@ namespace Volian.Controls.Library
|
||||
SectionConfig sc = si.MyConfig as SectionConfig;
|
||||
if (!si.IsEnhancedSection && (si.Sections == null || si.Sections.Count == 0 || (meta && sc != null && si.Sections != null && si.Sections.Count > 0 && sc.SubSection_Edit == "Y")))
|
||||
cm.MenuItems.Add("New Step", new EventHandler(mi_Click));
|
||||
cm.MenuItems.Add("Print Section", new EventHandler(mi_Click));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -967,13 +968,13 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
#endregion
|
||||
//_MyLog.WarnFormat("Context Menu 2 - {0}", GC.GetTotalMemory(true));
|
||||
#region Print_Section
|
||||
if (!tn.IsExpanded && tn.VEObject as SectionInfo != null)
|
||||
{
|
||||
SectionInfo si = tn.VEObject as SectionInfo;
|
||||
if (si.IsStepSection) cm.MenuItems.Add("Print Section", new EventHandler(mi_Click));
|
||||
}
|
||||
#endregion
|
||||
//#region Print_Section
|
||||
//if (!tn.IsExpanded && tn.VEObject as SectionInfo != null)
|
||||
//{
|
||||
// SectionInfo si = tn.VEObject as SectionInfo;
|
||||
// if (si.IsStepSection) cm.MenuItems.Add("Print Section", new EventHandler(mi_Click));
|
||||
//}
|
||||
//#endregion
|
||||
#region Menu_Open
|
||||
if (!tn.IsExpanded && tn.VEObject as SectionInfo != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user