Пример #1
0
 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) });
 }
Пример #2
0
 public WorkItemConfigurationTransformationItemEditorDialog(WorkItemConfigurationTransformationItem transformation)
     : this(transformation, false)
 {
 }