public StopwatchDesigner()
        {
            InitializeComponent();

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

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

            Loaded += EncryptionDesigner_Loaded;
        }