private void ShowEditorHandler(object sender, ViewModelArgs e) { var editor = new DictionaryEditor(e.ViewModel); editor.ShowDialog(); }
void ViewModel_OnOpenEditor(object sender, ViewModelArgs e) { var wordEditor = new WordEditor(e.ViewModel as WordEditorVM); wordEditor.ShowDialog(); }