Пример #1
0
 public Main()
 {
     InitializeComponent();
     list   = new MacroList();
     parser = new Parser(list);
     txtIcon.Items.AddRange(parser.listIcons());
     errorbox.Items.Add(parser.sizeIcons().ToString() + " Icon names loaded...");
     errorbox.Items.Add(parser.sizeCommands().ToString() + " Commands loaded...");
 }
Пример #2
0
 public Parser(MacroList macro)
 {
     macroList = macro; commands = new List <Command>(); icons = new List <String>(); loadConfig();
 }