public void HideDropDown() { if (dropDown != null) { dropDown.Hide(); } }
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); }