public AccountView(User user)
 {
     _user = new UserViewModel();
     _user.CurrentUser = user;
     _accounts = new AccountViewModel(user);
     this.DataContext = _accounts;
     this.InitializeComponent();
 }
Esempio n. 2
0
 public UserView(UserViewModel user)
 {
     this.InitializeComponent();
     _user = user;
     this.DataContext = _user;
 }
Esempio n. 3
0
 public Login()
 {
     this.InitializeComponent();
     _users = new UserViewModel();
     this.DataContext = _users;
 }