Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }