private void OnOpenTagSelectionClickHandler(object obj) { TagSelectionWindow window = new TagSelectionWindow(); window.DataContext = new TagSelectionWindowViewModel(dataRepository, currentBlurb); window.ShowDialog(); UpdateTagList(); }
private void OnCloseClickHandler(object obj) { TagSelectionWindow window = obj as TagSelectionWindow; if (window != null) { window.Close(); } }