private void EditSelectedTransformation(object argument) { var dialog = new WorkItemConfigurationTransformationItemEditorDialog(this.SelectedTransformation); dialog.Owner = Application.Current.MainWindow; dialog.ShowDialog(); }
private void AddTransformation(object argument) { var dialog = new WorkItemConfigurationTransformationItemEditorDialog(); dialog.Owner = Application.Current.MainWindow; var result = dialog.ShowDialog(); if (result == true) { this.Transformations.Add(dialog.Transformation); } }