private void EditSelectedComparisonSource(object argument) { var dialog = new WorkItemConfigurationEditorDialog(this.SelectedComparisonSource); dialog.Owner = Application.Current.MainWindow; dialog.ShowDialog(); }
private void AddComparisonSource(object argument) { var dialog = new WorkItemConfigurationEditorDialog(); dialog.Owner = Application.Current.MainWindow; var result = dialog.ShowDialog(); if (result == true) { this.ComparisonSources.Add(dialog.Configuration); } }