Professional Documents
Culture Documents
Chapter 8 Managing Graphics and Creating Animation
Chapter 8 Managing Graphics and Creating Animation
Creating Animation
CHAPTER 8
Creating the Graphics Object
A graphics object is created using a CreateGraphics() method. You can create a graphics object that draws to
the form itself or a control.
The code
myPen.DashStyle=Drawing.Drawing2D.DashStyle.Dot