Exemple #1
0
 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);
 }