public void AskRegistration(string name, string email, string hash_password, int typeId) { regName = name; regEmail = email; regHash_password = hash_password; regTypeId = typeId; RegistrationView?.Invoke(); }
/// <summary> /// Closes the registration view /// </summary> public static void RegistrationClose() { RegistrationView.Invoke(new CloseDelagate(RegistrationView.Close)); }