Beispiel #1
0
        private void cmdLoad_Click(object sender, RoutedEventArgs e)
        {
            //_viewModel.LoadClicked();
            var vm     = new Find.FindDefinitionViewModel();
            var window = new Find.FindDefinition(vm);

            window.ShowDialog();
            _viewModel.LoadClicked(vm.SelectedDefinition.Definition);
        }
Beispiel #2
0
 public FindDefinition(FindDefinitionViewModel vm)
 {
     InitializeComponent();
     this.VM          = vm;
     this.DataContext = this.VM;
 }