Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <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();
 }