Exemplo n.º 1
0
 private void MainWindow_NewAccountWindow()
 {
     this.signUpWindow                = new SignUpWindow();
     this.signUpWindow.NewAccount    += SignUpWindow_NewAccount;
     this.signUpWindow.LoggingWindow += SignUpWindow_LoggingWindow;
     loggingWindow.Close();
     signUpWindow.Show();
 }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
        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();
        }
Exemplo n.º 5
0
        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
                }
            }
            ;
        }
Exemplo n.º 6
0
        public void OpenSignUpWindow(LoginWindow parameter)
        {
            SignUpWindow SignUp = new SignUpWindow();

            SignUp.Show();
        }