Esempio n. 1
0
 public static void LoadMacrosFromFile(string fileName)
 {
     macroFileName = fileName;
     using (JsonTextReader jr = new JsonTextReader(new StreamReader(fileName)))
     {
         macros = js.Deserialize <MacroCollection>(jr);
     }
 }
Esempio n. 2
0
 public static void CreateMacros()
 {
     macros = new MacroCollection();
 }