private void Load() { if (File.Exists(mFileName)) { mUserClassDefinitions = BaseLoader <UserClassDefinitions> .Load(mFileName); } }
//public void SetUserClasses(List<UserClassDefinition> userClasses) //{ // mUserClassDefinitions = userClasses;// new List<UserClassDefinition>(); // LoadUI(); //} private void Load() { if (File.Exists(mFileName)) { mUserClassDefinitions = BaseLoader <UserClassDefinitions> .Load(mFileName); TriggerSystemMain.mTriggerDefinitions.mUserClassDefinitions = mUserClassDefinitions; LoadUI(); } else { mUserClassDefinitions = new UserClassDefinitions(); } }