Exemplo n.º 1
0
        private void EditSelectedTransformation(object argument)
        {
            var dialog = new WorkItemConfigurationTransformationItemEditorDialog(this.SelectedTransformation);

            dialog.Owner = Application.Current.MainWindow;
            dialog.ShowDialog();
        }
Exemplo n.º 2
0
        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);
            }
        }