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