How can I keep my form from repainting until I'm ready for it to repaint?