Choose an appropriate name for your Form. I changed the name Form1, to FDraw. In the Properties window for your Form, set the BackColor. I use White for my drawing surface.
Use the Object Browser, to see what methods in your base class can be overridden. In the View menu, go to Other Windows and select Object Browser. Look for the OnPaint function in the Form class as shown in the screen shot.
Comments