private WorkItemConfigurationTransformationItemEditorDialog(WorkItemConfigurationTransformationItem transformation, bool canCancel) { InitializeComponent(); this.Transformation = transformation; this.cancelButton.IsEnabled = canCancel; this.workItemConfigurationItemTypesComboBox.ItemsSource = Enum.GetValues(typeof(WorkItemConfigurationItemType)).Cast <WorkItemConfigurationItemType>().Select(t => new { Key = t, Value = WorkItemConfigurationItem.GetDisplayName(t) }); }
public WorkItemConfigurationTransformationItemEditorDialog(WorkItemConfigurationTransformationItem transformation) : this(transformation, false) { }