示例#1
0
        public static unsafe void ProcessAppCommand(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new AppCommandPacket(ptr);

                window.OnAppCommand(ref packet);
            }
        }
示例#2
0
 protected internal virtual void OnAppCommand(ref AppCommandPacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }