Beispiel #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            if (curclient != null)
            {
                //Macro'ing might seem more slightly more complicated then it was
                //but this is a direct forward to the client's implementation...

                //build macroentry (Say macro = macro #1)
                MacroEntry me = new MacroEntry(1, 0, textBox1.Text);
                //build macrotable (max 10 macroentries... maybe i'll change this to more entries (or non-fixed size) later on, not sure if the client sets a limit... but i need a fixed size to get evertyhing marshalled automatically, so i just always copy 10 entries, 0-entries are added to get to 10 if needed)
                MacroTable mt = new MacroTable(new MacroEntry[] { me });
                //execute first entry in the table
                curclient.Macro(mt, 0);
            }
        }
Beispiel #2
0
 public void Macro(MacroTable macro, uint index)
 {
     throw new NotImplementedException();
 }