Esempio n. 1
0
        internal void OnObjectClick(IntPtr sender)
        {
            if (ObjectClick == null)
            {
                return;
            }
            ObjectClick click;

            lock (instance.Mutex)
                click = new ObjectClick(sender);

            ObjectClick(instance, click);
        }
Esempio n. 2
0
        internal void OnObjectClick(IntPtr sender)
        {
            if (ObjectClick == null) return;
            ObjectClick click;

            lock (instance)
                click = new ObjectClick(sender);

            ObjectClick(instance, click);
        }
Esempio n. 3
0
 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);
 }