public static void LoadOptions()
 {
     if (_options == null)
     {
         OptionsManager manager = new OptionsManager();
         _options = manager.LoadOptions();
     }
 }
 public Options LoadOptions()
 {
     SerializeUtility<Options> utility = new SerializeUtility<Options>();
     Options options = null;
     try
     {
         if (File.Exists(SerializeUtility<Options>.GetFilePath(OptionsFilename)))
         {
             options = utility.DeserializeData(OptionsFilename);
         }
     }
     finally
     {
         if (options == null)
         {
             options = new Options();
         }
     }
     return options;
 }
 public void SaveOptions(Options options)
 {
     SerializeUtility<Options> utility = new SerializeUtility<Options>();
     utility.SerializeData(options, OptionsFilename);
 }