namespace System.Windows.Forms
{
class ComboBoxEx : ComboBox
{
public ComboBoxEx()
{
DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
DrawItem += (s, e) =>
{
if (e.Index < ) return;
e.DrawBackground();
e.DrawFocusRectangle();
e.Graphics.DrawString(GetItemText(Items[e.Index]), e.Font, new SolidBrush(e.ForeColor), e.Bounds.X, e.Bounds.Y + );
};
ItemHeight = ;
}
}
}