Пример #1
0
 public static void Execute(CommandInfo cmd)
 {
     if (cmd.CommandType == CommandTypeOption.MouseMove)
     {
         MouseMove(cmd.Data);
     }
 }
Пример #2
0
 public void Add(CommandInfo cmd)
 {
     this.commands.Enqueue(cmd);
 }
Пример #3
0
 public void Add(CommandTypeOption type, string data)
 {
     var cmd = new CommandInfo(type, data);
     this.Add(cmd);
 }