public StopwatchDesigner()
        {
            InitializeComponent();

            cbMethods.ItemsSource       = EnumUtil.EnumAsDictionary <StopwatchMethods>();
            cbMethods.DisplayMemberPath = "Key";
            cbMethods.SelectedValuePath = "Value";
        }
Exemple #2
0
        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";
        }
Exemple #4
0
        public EncryptionDesigner()
        {
            InitializeComponent();

            Algorithm.AllowedItemType   = typeof(Activity <IEncryption>);
            cbActions.ItemsSource       = EnumUtil.EnumAsDictionary <CryptoActions>();
            cbActions.DisplayMemberPath = "Key";
            cbActions.SelectedValuePath = "Value";

            Loaded += EncryptionDesigner_Loaded;
        }