public static unsafe void ProcessMouseDoubleClick(ref WindowMessage msg, EventedWindowCore window) { fixed(WindowMessage *ptr = &msg) { var packet = new MouseDoubleClickPacket(ptr); window.OnMouseDoubleClick(ref packet); } }
protected internal virtual void OnMouseDoubleClick(ref MouseDoubleClickPacket packet) { unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); } }