private void AddPageExecuted(Object param) { if (wizard != null) { DesignerOperations.AddPage(wizard); } }
private void OnAddPage(object sender, MenuActionEventArgs e) { ModelItem wizard = GetWizard(e.Selection.PrimarySelection); if (wizard != null) { DesignerOperations.AddPage(wizard); } }