/// <summary>
        /// Raises the <see cref="PickerDisplayAdapterBase.DrawIcon"/> event.
        /// </summary>
        /// <param name="e">An <see cref="DrawIconEventArgs"/> object that contains the event data.</param>
        protected void RaiseDrawIconEvent(DrawIconEventArgs e)
        {
            EventHandler <DrawIconEventArgs> handler = this.DrawIcon;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
 private void displayAdapter_DrawIcon(object sender, DrawIconEventArgs e)
 {
     this.DrawIcon(e.Graphics, e.IconRectangle);
 }