// initialize and create the setting objects static MachSettings() { Admin = new SettingsMgr <MachSettingInfo40>(ResetData); Info = Admin.Info; Data = Info.Data; Info.Configure(); }
public static void ResetData() { if (Admin == null) { return; } // this makes sure the above static class points // to the current data structure Info = Admin.Info; Data = Info.Data; Info.Configure(); }