Exemple #1
0
 public static void ResetData()
 {
     // this makes sure the above static class points
     // to the current data structure
     Info = Admin.Info;
     Data = Info.Data;
 }
Exemple #2
0
 // initialize and create the setting objects
 static UserSettings()
 {
     Admin = new SettingsMgr <UserSettingInfo30>(ResetData);
     Info  = Admin.Info;
     Data  = Info.Data;
 }