Title:
101036-0-dessin-sans-paint Download
Description: This source code shows that i s possible to draw without using the Paint event. It
consists of three forms and a class. Thereof, named AutoRedraw,
nod to the nostalgic vb6, provides three graphic objects to
drawing on any label control while PictureBox control, and all form.
We limited ourselves to two types of controls, but you can put it all
kinds of controls as we please, provided they are visual. In this case,
three design possibilities are recovered in the startup form
named Home , with three buttons marked
Drawing Lab for the Label,
Draw Pic for PictureBox controls,
Draw Frm for Forms.
The second form, named Drawings were deposited two checks
Lab Ace Label,
Pic As PictureBox
and it is on these controls and the form itself we drew.
The third form, called Mask and placed in the foreground, is there to
allow the user to agitate before the drawings to be convinced that
Paint the event has nothing to do with it.
Comments are welcome.
To Search:
File list (Check if you may need any files):
Dessin sans Paint
.................\Accueil.Designer.vb
.................\Accueil.resx
.................\Accueil.vb
.................\App.config
.................\AutoRedraw.vb
.................\Dessin sans Paint.sln
.................\Dessin sans Paint.vbproj
.................\Dessins.Designer.vb
.................\Dessins.resx
.................\Dessins.vb
.................\Masque.Designer.vb
.................\Masque.resx
.................\Masque.vb
.................\My Project
.................\..........\Application.Designer.vb
.................\..........\Application.myapp
.................\..........\AssemblyInfo.vb
.................\..........\Resources.Designer.vb
.................\..........\Resources.resx
.................\..........\Settings.Designer.vb
.................\..........\Settings.settings