Пример #1
0
        public static unsafe void ProcessHotKey(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new HotKeyPacket(ptr);

                window.OnHotKey(ref packet);
            }
        }
Пример #2
0
 protected internal virtual void OnHotKey(ref HotKeyPacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }