示例#1
0
 public override string ToString()
 {
     return(Macro.GetKeyString(vk, modifiers) + (type == InputEventType.KeyPress ? "" :  " " + type.ToString().Replace("Key", "").ToLower()));
     //just display 'B press' as 'B', for example.
 }
示例#2
0
 private void copyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _clipboard          = _macroList[_selectedIdx];
     txtCurrentPage.Text = "\"" + _clipboard.Name + "\"" + " copied.";
 }
示例#3
0
 bool IsKeyDepressed(int vk)
 {
     return(Macro.IsKeyPushedDown((Keys)vk));
     //return _keyDepressedSet.Contains(vk);
 }
示例#4
0
 private void AddMacro(Macro obj)
 {
     _macroList.Add(obj);
 }