Code Block
using
System.Runtime.InteropServices;
const Int32 COMBOBOX_HEIGHTCONST = 0X153;
[
DllImport("user32.dll")]
private static extern int SendMessage(IntPtr hwnd, Int32 wMsg, Int32 wParam, Int32 lParam);
private void AdjustComboBoxHeight(ComboBox control, Int32 height)
{
SendMessage(control.Handle, COMBOBOX_HEIGHTCONST, -1, height);
control.Refresh();
}