private void MainWindow_NewAccountWindow() { this.signUpWindow = new SignUpWindow(); this.signUpWindow.NewAccount += SignUpWindow_NewAccount; this.signUpWindow.LoggingWindow += SignUpWindow_LoggingWindow; loggingWindow.Close(); signUpWindow.Show(); }
public void Add(object parameter) { SignUpWindow signUpWindow = new SignUpWindow(); SignUpViewModel signUpVM = new SignUpViewModel(users); signUpWindow.DataContext = signUpVM; App.Current.MainWindow.Close(); App.Current.MainWindow = signUpWindow; signUpWindow.Show(); }
public void Edit(object param) { SignUpWindow SignUpWindow = new SignUpWindow(); SignUpViewModel signUpVM = new SignUpViewModel(SelectedUser, users); SignUpWindow.DataContext = signUpVM; App.Current.MainWindow.Close(); App.Current.MainWindow = SignUpWindow; SignUpWindow.Show(); }
public void SignUp(object param) { SignUpWindow window = new SignUpWindow(); SignUpViewModel signUpVM = new SignUpViewModel(); window.DataContext = signUpVM; App.Current.MainWindow.Close(); App.Current.MainWindow = window; window.Show(); }
public async void SignUp() { var result = await SignUpWindow.Show(null); if (Status.Status == Enums.Status.Unauthenticated && result.IsSignIn) { Status = new AppStatusInfo { Status = Enums.Status.Ready } } ; }
public void OpenSignUpWindow(LoginWindow parameter) { SignUpWindow SignUp = new SignUpWindow(); SignUp.Show(); }