Пример #1
0
        private async void SelectPhaidraAttributeFieldExecute(object obj)
        {
            PhaidraFieldBrowserViewModel vm     = new PhaidraFieldBrowserViewModel(obj as PhaidraAttributeField2CsvColumn2, PhaidraAttributeFields);
            PhaidraFieldBrowserWindow    window = new PhaidraFieldBrowserWindow(vm);

            vm.CloseAction = () => { window.Close(); };
            await window.ShowDialog(_parentWindow);
        }
Пример #2
0
 public PhaidraFieldBrowserWindow(PhaidraFieldBrowserViewModel viewModel) : this()
 {
     this.DataContext = _viewModel = viewModel;
 }