public PaintEventArgs(Graphics graphics, Rectangle clipRect) { if (graphics == null) { throw new ArgumentNullException("graphics"); } this.graphics = graphics; this.clipRect = clipRect; }