예제 #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);
		}
예제 #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);
        }