public ShortcutItem(string name, string description, ShortcutFunction myKeyDownFunctionPtr, ShortcutFunction myKeyUpFunctionPtr = null) { Name = name; Description = description; MyKeyDownFunctionPtr = myKeyDownFunctionPtr; MyKeyUpFunctionPtr = myKeyUpFunctionPtr; }
public void Destroy() { MyKeyDownFunctionPtr = null; MyKeyUpFunctionPtr = null; }
public ShortcutItem(string name, string description, ShortcutFunction myFunctionPtr) { Name = name; Description = description; MyFunctionPtr = myFunctionPtr; }