public StopwatchDesigner() { InitializeComponent(); cbMethods.ItemsSource = EnumUtil.EnumAsDictionary <StopwatchMethods>(); cbMethods.DisplayMemberPath = "Key"; cbMethods.SelectedValuePath = "Value"; }
public AggregateDesigner() { InitializeComponent(); cbFunction.ItemsSource = EnumUtil.EnumAsDictionary <AggregateFunction>(); cbFunction.DisplayMemberPath = "Key"; cbFunction.SelectedValuePath = "Value"; }
public DataTableToTextDesigner() { InitializeComponent(); cbTextFormat.ItemsSource = EnumUtil.EnumAsDictionary <TextFormat>(); cbTextFormat.DisplayMemberPath = "Key"; cbTextFormat.SelectedValuePath = "Value"; }
public EncryptionDesigner() { InitializeComponent(); Algorithm.AllowedItemType = typeof(Activity <IEncryption>); cbActions.ItemsSource = EnumUtil.EnumAsDictionary <CryptoActions>(); cbActions.DisplayMemberPath = "Key"; cbActions.SelectedValuePath = "Value"; Loaded += EncryptionDesigner_Loaded; }