Ejemplo n.º 1
0
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == WM_COMMAND)
     {
         if (m.LParam.Equals(owner.Handle))
         {
             int notifyType = ((int)m.WParam) / 0x10000;
             if (notifyType == CBN_CLOSEUP)
             {
                 owner.ParentNotify();
             }
         }
     }
     base.WndProc(ref m);
 }