Esempio n. 1
0
        private void EditSelectedComparisonSource(object argument)
        {
            var dialog = new WorkItemConfigurationEditorDialog(this.SelectedComparisonSource);

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