예제 #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);
            }
        }