Example #1
0
        public static unsafe void ProcessNcPaint(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new NcPaintPacket(ptr);

                window.OnNcPaint(ref packet);
            }
        }
Example #2
0
 protected internal virtual void OnNcPaint(ref NcPaintPacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }