Exemplo n.º 1
0
 static UserAccounts()
 {
     if (DataStorage_Accounts.SaveExists(accountFile))
     {
         accounts = DataStorage_Accounts.LoadUserAccounts(accountFile).ToList();
     }
     else
     {
         accounts = new List <UserAccount>();
         SaveAccounts();
     }
 }
Exemplo n.º 2
0
 public static void SaveAccounts()
 {
     DataStorage_Accounts.SaveUserAccounts(accounts, accountFile);
 }