internal void OnObjectClick(IntPtr sender) { if (ObjectClick == null) { return; } ObjectClick click; lock (instance.Mutex) click = new ObjectClick(sender); ObjectClick(instance, click); }
internal void OnObjectClick(IntPtr sender) { if (ObjectClick == null) return; ObjectClick click; lock (instance) click = new ObjectClick(sender); ObjectClick(instance, click); }
void Property_ObjectClick(Instance sender, ObjectClick click) { Console.WriteLine("Click at {0}, {1}, {2} on {3} by {4}", click.X, click.Y, click.Z, click.Id, click.Session); }