This is the code that actually fires the drawItem event. Don't forget to call base.onDrawItem() to ensure that drawItem events are correctly fired at all other times.
[Visual Basic] Overridable Protected Sub OnDrawItem( _ ByVal e As DrawItemEventArgs _ ) [C#] protected virtual void OnDrawItem( DrawItemEventArgs e ); [C++] protected: virtual void OnDrawItem( DrawItemEventArgs* e ); [JScript] protected function OnDrawItem( e : DrawItemEventArgs );
ComboBox Class | ComboBox Members | System.WinForms Namespace | DrawItemEventArgs