Exemplo n.º 1
0
        private void SignUpButton_Click(object sender, RoutedEventArgs e)
        {
            string login = LoginTextBox.Text, pass = PasswordTextBox.Text;

            try
            {
                var newuser = new AddingNewUser(allRegisteredUsersList, login, pass);
                NotebookTextBox.Text = " ";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Exemplo n.º 2
0
        public void SignUp()
        {
            string login, pass;

            EnterLoginInfo(out login, out pass);
            try
            {
                var newuser = new AddingNewUser(allRegisteredUsersList, login, pass);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }