Пример #1
0
 // calls SIS process register and displays the outcome
 private void AttemptRegister(string username, string password)
 {
     if (signInService.ProcessRegister(username, password))
     {
         // register
         OutcomeMsg.Text = "    Successfully registered new account";
     }
     else
     {
         OutcomeMsg.Text = "    Error! A user by that name already exists";
     }
 }