/// <summary> /// Called when an attached view's Loaded event fires. /// </summary> /// <param name = "view">The displayed view.</param> protected override void OnViewLoaded(object view) { base.OnViewLoaded(view); dockWindowManager = IoC.Get<IDockWindowManager>(); foreach (var vm in viewModels) dockWindowManager.ShowDocumentWindow(vm, null); }
/// <summary> /// Called when an attached view's Loaded event fires. /// </summary> /// <param name = "view">The displayed view.</param> protected override void OnViewLoaded(object view) { base.OnViewLoaded(view); dockWindowManager = IoC.Get <IDockWindowManager>(); foreach (var vm in viewModels) { dockWindowManager.ShowDocumentWindow(vm, null); } }
public override void Execute() { var customersVM = IoC.Get <CustomersViewModel>(); windowManager.ShowDocumentWindow(customersVM, null, false); }