public static bool Login(LoginCredentials loginCredentials, Form form) { if (loginCredentials.isValid()) { // start notes page form.Hide(); var nt = new NotesForm(); nt.ShowDialog(); form.Close(); return(true); } return(false); }
public static bool Login(LoginCredentials loginCredentials, Form form) { if (loginCredentials.isValid()) { // start notes page form.Hide(); var nt = new NotesForm(); nt.ShowDialog(); form.Close(); return(true); } return(false); }