Ejemplo n.º 1
0
 /// <summary>
 /// Method that creates an account with the entered information and stores it into relevant files
 /// </summary>
 public void Confirm()
 {
     TempDisplayName        = AccountHandler.DisplayNameAddTag(_tempDisplayName);
     AccountHandler.Account = new Account(_tempUsername, TempPassword, TempDisplayName);
     AccountHandler.CreateAccount(AccountHandler.Account, TempProfilePicturePath);
     AccountList.AddAccountToFile();
     SetDisplayNameForUI = AccountHandler.Account.DisplayName;
 }