Esempio n. 1
0
 private void Go_Login(object sender, RoutedEventArgs e)
 {
     Login.Visibility       = Visibility.Visible;
     Registration.IsEnabled = false;
     Login.IsEnabled        = true;
     ErrorExplorer.CleanToRes();
 }
Esempio n. 2
0
        private void regSubmit(object sender, RoutedEventArgs e)
        {
            ErrorExplorer EE = new ErrorExplorer(lblErrorExpREG, sql); EE.activateREG(regNickName.Text.ToString(), regName.Text.ToString(), regSurname.Text.ToString(), regPass.Password.ToString(), regRePass.Password.ToString());

            if (ErrorExplorer.valide_key == true)
            {
                Registration.IsEnabled = false;
            }
        }
Esempio n. 3
0
        private void logSubmit(object sender, RoutedEventArgs e)
        {
            ErrorExplorer EE = new ErrorExplorer(lblErrorExpLOG, sql); EE.activateLOG(logNickName.Text.ToString(), logPass.Password.ToString());

            if (ErrorExplorer.valide_key == true)
            {
                Login.IsEnabled = false;
            }
        }