Ejemplo n.º 1
0
		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);
		}
Ejemplo n.º 2
0
        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);
        }