Пример #1
0
        private void EditSelectedComparisonSource(object argument)
        {
            var dialog = new WorkItemConfigurationEditorDialog(this.SelectedComparisonSource);

            dialog.Owner = Application.Current.MainWindow;
            dialog.ShowDialog();
        }
Пример #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);
            }
        }