M
Mohammad-Reza
Hi
I want to design a combo box.
I open a new UserControl project and inherits from
System.Windows.Forms.ComboBox
and try to override OnPaint event and set the DrawMode to OwnerDrawFixed.
But when I compile the project the interface did not change.
How can I override the OnPaint of this component.
Thanks in advance.
I want to design a combo box.
I open a new UserControl project and inherits from
System.Windows.Forms.ComboBox
and try to override OnPaint event and set the DrawMode to OwnerDrawFixed.
But when I compile the project the interface did not change.
How can I override the OnPaint of this component.
Thanks in advance.