Ejemplo n.º 1
0
        private void Find()
        {
            if (_findViewModel != null)
            {
                return;
            }

            _findViewModel = new FindViewModel(_dialogService, FindNext);
            _findViewModel.PropertyChanged += (sender, args) => _observedWords.ResetSearch();
            _dialogService.ShowModelessDialog(this, _findViewModel, () => _findViewModel = null);
        }
Ejemplo n.º 2
0
        private void Find()
        {
            if (_findViewModel != null)
            {
                return;
            }

            _findViewModel = new FindViewModel(_dialogService, FindNext);
            _findViewModel.PropertyChanged += (sender, args) => _startVarietyMeaning = null;
            _dialogService.ShowModelessDialog(this, _findViewModel, () => _findViewModel = null);
        }
Ejemplo n.º 3
0
            public void OpenFindDialog()
            {
                SetupWordPairsViews();

                _dialogService.ShowModelessDialog(_varietyPairs, Arg.Do<FindViewModel>(vm => _findViewModel = vm), Arg.Any<Action>());
                _varietyPairs.FindCommand.Execute(null);
            }
Ejemplo n.º 4
0
        private void Find()
        {
            if ( _findViewModel != null)
                return;

            _findViewModel = new FindViewModel(_dialogService, FindNext);
            _findViewModel.PropertyChanged += (sender, args) => _observedWordPairs.ResetSearch();
            _dialogService.ShowModelessDialog(this, _findViewModel, () => _findViewModel = null);
        }
 public void OpenFindDialog()
 {
     _dialogService.ShowModelessDialog(_wordListsViewModel, Arg.Do<FindViewModel>(vm => _findViewModel = vm), Arg.Any<Action>());
     _wordListsViewModel.FindCommand.Execute(null);
 }
Ejemplo n.º 6
0
        private void Find()
        {
            if (_findViewModel != null)
                return;

            _findViewModel = new FindViewModel(_dialogService, FindNext);
            _findViewModel.PropertyChanged += (sender, args) => _startVarietyMeaning = null;
            _dialogService.ShowModelessDialog(this, _findViewModel, () => _findViewModel = null);
        }