Microsoft Visual Basic 2010 Step by Step eBook
Chapter 14 Managing Windows Forms and Controls at Run Time 353 You’ll see a dialog box similar to the following: You use the Add ...
354 Part III Designing the User Interface Tip You can rename or delete form files by using Solution Explorer. To rename a file, ...
Chapter 14 Managing Windows Forms and Controls at Run Time 355 Double-click OK to display the Button1_Click event procedure in ...
356 Part III Designing the User Interface include the System.IO namespace at the top of the code for your form. Next, you declar ...
Chapter 14 Managing Windows Forms and Controls at Run Time 357 feature lists the forms available in the Forms collection, as sho ...
358 Part III Designing the User Interface Click the Help button. Visual Basic opens the second form in the project, HelpInfo . ...
Chapter 14 Managing Windows Forms and Controls at Run Time 359 user—Cancel, Yes, No, Abort, and so on. Each dialog box button ca ...
360 Part III Designing the User Interface time, and it takes the dimensions of a rectangle as an argument—that is, two point pai ...
Chapter 14 Managing Windows Forms and Controls at Run Time 361 Changing the StartPosition property to CenterScreen directs Visua ...
362 Part III Designing the User Interface Click the Close button on the form to close the program. You’ve experimented with a ...
Chapter 14 Managing Windows Forms and Controls at Run Time 363 'Display the form as a modal dialog box form2.ShowDialog() When t ...
364 Part III Designing the User Interface Notice that you can’t resize the second form because FormBorderStyle was set to FixedD ...
Chapter 14 Managing Windows Forms and Controls at Run Time 365 Creating objects is very simple because the fundamental classes t ...
366 Part III Designing the User Interface Type the following program code: 'Declare new form and control objects Dim form2 As ...
Chapter 14 Managing Windows Forms and Controls at Run Time 367 Visual Basic displays the second form. This form contains the lab ...
368 Part III Designing the User Interface two- dimensional thinking or have the time to run the program repeatedly to verify the ...
Chapter 14 Managing Windows Forms and Controls at Run Time 369 Your form looks similar to this: Double-click the Align Now butt ...
370 Part III Designing the User Interface Tip The complete Anchor and Dock program is located in the C:\Vb10sbs\Chap14\Anchor an ...
Chapter 14 Managing Windows Forms and Controls at Run Time 371 the button object and the top and left edges of the form changes, ...
372 Part III Designing the User Interface Click Add to add the second form (Form2 .vb) to Solution Explorer. Click My Startup F ...
«
15
16
17
18
19
20
21
22
23
24
»
Free download pdf