public MainWindow() { InitializeComponent(); //DataContext = new UserControl_WaitingView(); DataContext = new UserControl_LogIn(this); }
public void SwitchToLogIn() { DataContext = new UserControl_LogIn(this); }
public LogIn_ViewModel(UserControl_LogIn logInView) { this.logInView = logInView; LogIn = new GeneralCommands <object>(LogInOrRegister, CanLogIn); user = new User_Model("", ""); }