ComponentFactory.Krypton.Ribbon.KeyTipControl.OnPaintBackground C# (CSharp) Méthode

OnPaintBackground() protected méthode

Raises the PaintBackground event.
protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs An PaintEventArgs containing the event data.
Résultat void
        protected override void OnPaintBackground(PaintEventArgs pevent)
        {
            // Magenta is the transparent color
            pevent.Graphics.FillRectangle(Brushes.Magenta, pevent.ClipRectangle);
        }