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
-
What is C#
by Thushan Fernando (8 replies)
-
Schema Data from OLAP
by odin (0 replies)
-
Popup Window
by rajasahekar (3 replies)
-
Capture tab key
by kyledunn (3 replies)
-
Updating source with data adapter
by kyledunn (0 replies)
Related jobs
-
Microsoft .Net Architect
in AMSTERDAM (€50K-€90K per annum) -
Applicatie ontwikkelaar binnen Defensie
in Amsterdam (£50K-£90K per annum) -
Microsoft Dynamics CRM Technical Consultant
in Netherlands (€50K-€90K per annum) -
Front End Developer
in Hammersmith (£45K-£60K per annum)
Events coming up
-
Nov
19
C# 3.0 and LINQ with Visual Studio 2008 Training Course
London, United Kingdom
This course has been developed to help existing C#.NET 2.0 programmers and developers upgrade their .NET development skills and learn about the new features of Microsoft's C# 3.0 and LINQ to XML and ADO.NET using Visual Studio 2008 (currently codenamed Orcas).
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