/// <summary> /// Creates a new <see cref="ImageComboBox"/> /// initialized to its default state. /// </summary> public ImageComboBox() : base() { this.source = OwnerDrawnStyleSource.ManagerSource; InitializeComponent(); items = new ImageComboBox.ImageObjectCollection(this); this.SetItemsCore(items); }
/// <summary> /// Creates a new <see cref="ImageCheckedListBox"/> /// initialized to its default state. /// </summary> public ImageCheckedListBox() : base() { this.source = OwnerDrawnStyleSource.ManagerSource; InitializeComponent(); items = new ImageCheckedListBox.ImageObjectCollection(this); this.SetItemsCore(items); this.looseTransparencyColor = Color.Transparent; }
/// <summary> /// Initializes a new instance of the <see cref="ImageMessage"/> class. /// </summary> public MediaMessage() : base(MessageType.Image) { this.Type = MessageType.News; this.ImageCollection = new ImageObjectCollection(); }