Exemple #1
0
        public CardAddView()
        {
            InitializeComponent();

            SetDefaultValues();
            SetActions();

            CardNumberTb.Focus();
        }
Exemple #2
0
        public CardAddView(int cardId)
        {
            InitializeComponent();

            ViewModel   = new CardAddViewModel(cardId);
            DataContext = ViewModel;
            SetActions();

            CardNumberTb.Focus();
        }