Library tutorials & articles
Drawing on a Form
By Bill Burris, published on 11 Nov 2001
Page 1 of 2
- Introduction
- The Code
Introduction
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.
Related articles
Related discussion
-
Concurrency violation: the UpdateCommand affected 0 of the expected 1 records
by virtualking (0 replies)
-
How to optimize mysql subquery performance?
by Jayaram P (0 replies)
-
C# video Editing/rendering
by pkuchaliya (0 replies)
-
How to Fill DataSet with more records (around 1 lakh) in a faster way
by Jayaram P (0 replies)
-
Can't print on the network with MSADESS ??
by anatha1 (2 replies)
Related podcasts
-
Object-Oriented Programming in Ruby
In this episode, I talk with Scott Bellware about object-oriented programming in Ruby, and Ruby's object model. This is taken from a private conversation, and the audio quality suffers at times. Much thanks to Scott for allowing this to be released.This episode of the Alt.NET Podcast is bro...
I DRAW THE LINE ON PANEL BETWEEN TWO USER CONTROLS
BUT I WANT MORE ON DRAWING LINES BETWEEN TWO USER CONTROLS
WITH ARROW MARK WHICH IS URGETN
USING PANEL PAINT U CAN DRAW IT.
PLS HELP
this is really good, but will u plz code the same thing in vb.net too? and how can we do painting i.e something like in ms-paint.
thanks
Manpreet
This thread is for discussions of Drawing on a Form.