private void ShowOpenIndexModal() { var browser = _container.GetInstance<IFolderBrowser>(); var messageBox = _container.GetInstance<IMessageBox>(); var vm = new OpenIndexViewModel(this, browser, messageBox); vm.Cancel += CancelLoadIndex; vm.Okay += LoadIndex; _windowManager.ShowDialog(vm); }
private void ShowOpenIndexModal() { var browser = _container.GetInstance <IFolderBrowser>(); var messageBox = _container.GetInstance <IMessageBox>(); var vm = new OpenIndexViewModel(this, browser, messageBox); vm.Cancel += CancelLoadIndex; vm.Okay += LoadIndex; _windowManager.ShowDialog(vm); }