Exemple #1
0
        public void DrawTabItemBusyImage(TabStripItemBusyImageRenderEventArgs e)
        {
            OnRenderTabItemBusyImage(e);

            var handler = Events[EventRenderTabItemBusyImage] as EventHandler <TabStripItemBusyImageRenderEventArgs>;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 protected virtual void OnRenderTabItemBusyImage(TabStripItemBusyImageRenderEventArgs e)
 {
 }
Exemple #3
0
 protected override void OnRenderTabItemBusyImage(TabStripItemBusyImageRenderEventArgs e)
 {
     DrawDottedRectangle(e.Graphics, Color.Gold, e.ImageRectangle);
 }
 protected override void OnRenderTabItemBusyImage(TabStripItemBusyImageRenderEventArgs e)
 {
     UpdateBusyImage(e.TickCount);
     e.Graphics.DrawImageUnscaled(_currentBusyImage, e.ImageRectangle);
 }