Ejemplo n.º 1
0
        public static unsafe void ProcessMouseDoubleClick(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new MouseDoubleClickPacket(ptr);

                window.OnMouseDoubleClick(ref packet);
            }
        }
Ejemplo n.º 2
0
 protected internal virtual void OnMouseDoubleClick(ref MouseDoubleClickPacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }