This document contains code for two methods that draw grids in a view window when right and left mouse buttons are clicked. The OnRButtonDown method draws vertical red lines spaced 20 pixels apart across the entire width of the view. The OnLButtonDown method draws horizontal blue lines spaced 20 pixels apart down the entire height of the view. Both methods get the view rectangle, select a pen, and use a for loop to draw the lines before calling the base method.