Quiz
| 1: | The Windows Forms classes are located in the ___________________ namespace. |
A1: | System.Windows.Forms. |
| 2: | By setting the _______________ property in a control, I can make sure that my code is not changed if someone inherits my form. |
A2: | You need to change the Modifiers property to Private. |
| 3: | The ______________ property returns an array of MdiChildren in an MDI application. |
A3: | The MdiChildren property will allow you to loop through the collection of MdiChild forms in your application. You can use the MdiChildren.Length property to determine the number of open MdiChildren in you application. |
| 4: | What are the properties in the Properties window that enable you to specify the location, docking, and resizing capabilities of a control? |
A4: | The Dock, Alignment, and Location properties allow you to control how and where controls are positioned on your forms. |
| 5: | True or False: I can tell many controls to perform the same method by setting the SameMethod property in the Properties window. |
A5: | False. There is no SameMethod property. In order to have your controls perform the same function, use the Handles keyword in VB.NET or simply create a new delegate in C#. |
| 6: | True or False: The Windows Forms Designer Generated code should not be changed. |
A6: | True. You can change the Windows Forms Designer Generated code, but you risk the Forms designer changing it once you switch back to Design view. |
| 7: | The _____________ argument and the _____________ argument are always passed as parameters to events for a control. |
A7: | System.Object and System.EventArgs. |
• Table of Contents
• Index
Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days
By
Jason Beres
Publisher
: Sams Publishing
Pub Date
: January 14, 2003
ISBN
: 0-672-32421-0
Pages
: 696
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.