コード例 #1
0
        public static unsafe void ProcessNcCalcSize(ref WindowMessage msg, EventedWindowCore window)
        {
            fixed(WindowMessage *ptr = &msg)
            {
                var packet = new NcCalcSizePacket(ptr);

                window.OnNcCalcSize(ref packet);
            }
        }
コード例 #2
0
 protected internal virtual void OnNcCalcSize(ref NcCalcSizePacket packet)
 {
     unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); }
 }