public ImageComboBox() { // supported drawmodes are OwnerDrawFixed and OwnerDrawVariable only. this.DrawMode = DrawMode.OwnerDrawFixed ; DrawModes[0] = DrawMode.OwnerDrawFixed ; DrawModes[1]= DrawMode.OwnerDrawVariable ; base.ItemHeight = 15; ListItems = new ImageComboBoxItemCollection (this); }
public ImageComboBox() { // supported drawmodes are OwnerDrawFixed and OwnerDrawVariable only. this.DrawMode = DrawMode.OwnerDrawFixed; DrawModes[0] = DrawMode.OwnerDrawFixed; DrawModes[1] = DrawMode.OwnerDrawVariable; base.ItemHeight = 15; ListItems = new ImageComboBoxItemCollection(this); }