protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected override void OnPaint(PaintEventArgs e)
{
// paint the titlebar
if (this.TitleBarRectangle.IntersectsWith(e.ClipRectangle))
{
this.OnPaintTitleBar(e.Graphics);
}
}