protected override void OnPaint(PaintEventArgs e) { if ((_path1 != null) && (_path2 != null) && (_path3 != null)) DrawPaths(e.Graphics); else DrawShadow(e.Graphics, ClientRectangle); }