예제 #1
0
 private void Load()
 {
     if (File.Exists(mFileName))
     {
         mUserClassDefinitions = BaseLoader <UserClassDefinitions> .Load(mFileName);
     }
 }
예제 #2
0
        //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();
            }
        }