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. }
private void copyToolStripMenuItem_Click(object sender, EventArgs e) { _clipboard = _macroList[_selectedIdx]; txtCurrentPage.Text = "\"" + _clipboard.Name + "\"" + " copied."; }
bool IsKeyDepressed(int vk) { return(Macro.IsKeyPushedDown((Keys)vk)); //return _keyDepressedSet.Contains(vk); }
private void AddMacro(Macro obj) { _macroList.Add(obj); }