This is my first attempt at using GCI+. Essentially I need to be able do display ~ 250 rectangles on the screen. Each rectangle's color and location will be determined from a series of calculations within a loop. The loop is called from a button_click event. I'd like to be able to see each rectangle as it's generated, but instead, they build up until the button-click event is completed, then they all appear at once.

This is an abbreviated version of the event, that draws a line across the screen: