示例#1
0
 public void HideDropDown()
 {
     if (dropDown != null)
     {
         dropDown.Hide();
     }
 }
示例#2
0
 private bool InternalProcessResizing(ref Message m, bool contentControl)
 {
     if (m.Msg == NativeMethods.WM_NCACTIVATE && m.WParam != IntPtr.Zero && childToolStrip != null && childToolStrip.Visible)
     {
         childToolStrip.Hide();
     }
     if (!Resizable)
     {
         return(false);
     }
     if (m.Msg == NativeMethods.WM_NCHITTEST)
     {
         return(OnNcHitTest(ref m, contentControl));
     }
     else if (m.Msg == NativeMethods.WM_GETMINMAXINFO)
     {
         return(OnGetMinMaxInfo(ref m));
     }
     return(false);
 }