Microsoft Visual Basic 2010 Step by Step eBook
Chapter 14 Managing Windows Forms and Controls at Run Time 373 Although this demonstration exercise was fairly simple, you can s ...
374 Part III Designing the User Interface To Do This Create a new form with program code and set its properties Create the form ...
375 Chapter 15 Adding Graphics and Animation Effects After completing this chapter, you will be able to: n Use the System.Drawin ...
376 Part III Designing the User Interface Adding Artwork by Using the System.Drawing Namespace Adding ready-made artwork to your ...
Chapter 15 Adding Graphics and Animation Effects 377 Whether you’re creating simple screen shots or building complex drawings, i ...
378 Part III Designing the User Interface Using the Form’s Paint Event If you test the previous DrawLine method in a program, yo ...
Chapter 15 Adding Graphics and Animation Effects 379 'Use a green brush color to create a filled rectangle Dim BrushColor As New ...
380 Part III Designing the User Interface Click the Close button to end the program. Click the Save All button on the Standard ...
Chapter 15 Adding Graphics and Animation Effects 381 To move a relative distance to the right or left, you would add or subtract ...
382 Part III Designing the User Interface To perform a relative movement using the Location property, the Location.X and Locatio ...
Chapter 15 Adding Graphics and Animation Effects 383 In the Open dialog box, navigate to the C:\Vb10sbs\Chap15 folder. In the F ...
384 Part III Designing the User Interface Double-click the Move Up button to edit its event procedure. The Button1_Click event ...
Chapter 15 Adding Graphics and Animation Effects 385 So long as the timer is enabled, this If... Then decision structure is exec ...
386 Part III Designing the User Interface Note If you placed the picture box object in the lower-right corner of the form, as in ...
Chapter 15 Adding Graphics and Animation Effects 387 When you set the properties for the picture box, note the current values in ...
388 Part III Designing the User Interface Tip The complete Zoom In program is located in the C:\Vb10sbs\Chap15\Zoom In folder. ...
Chapter 15 Adding Graphics and Animation Effects 389 program that includes a separate form with various options to manipulate th ...
390 Part III Designing the User Interface Click the Set Opacity button. Notice how you can see through the form, as shown here ...
Chapter 15 Adding Graphics and Animation Effects 391 To Do This Move an object on a form Relocate the object by using the Locati ...
...
«
16
17
18
19
20
21
22
23
24
25
»
Free download pdf