public CardAddView() { InitializeComponent(); SetDefaultValues(); SetActions(); CardNumberTb.Focus(); }
public CardAddView(int cardId) { InitializeComponent(); ViewModel = new CardAddViewModel(cardId); DataContext = ViewModel; SetActions(); CardNumberTb.Focus(); }