c# - Dynamic Combo Box Will Not Resize -
i'm trying create dynamic form. found on web:
http://csharp.net-informations.com/gui/dynamic-controls-cs.htm
and works. however, needed combo box , worked, but, couldn't resize it. here code:
any appreciated. can see, tried resize before placing on form. no compile error. don't know.
the height of combobox automatically adjusted specified size of font. can't change height unless increase font. this:
box.font = new font(box.font.fontfamily, 16);
Comments
Post a Comment