private void Go_Login(object sender, RoutedEventArgs e) { Login.Visibility = Visibility.Visible; Registration.IsEnabled = false; Login.IsEnabled = true; ErrorExplorer.CleanToRes(); }
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; } }
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; } }