Sams Teach Yourself .Net in 21 Days
- Table of Contents
- Copyright
- About the Author
- About the Technical Editor
- Acknowledgments
- We Want to Hear from You
- Introduction
- Week 1: At a Glance
- Day 1. Introduction to the Microsoft .NET Framework
- Day 2. Introduction to Visual Studio .NET
- Day 3. Writing Windows Forms Applications
- Day 4. Deploying Windows Forms Applications
- Day 5. Writing ASP.NET Applications
- Day 6. Deploying ASP.NET Applications
- Day 7. Exceptions, Debugging, and Tracing
- Week 1. In Review
- Week 2: At a Glance
- Day 8. Core Language Concepts in Visual Basic .NET and C#
- Day 9. Using Namespaces in .NET
- Day 10. Accessing Data with ADO.NET
- Day 11. Understanding Visual Database Tools
- Day 12. Accessing XML in .NET
- Day 13. XML Web Services in .NET
- Day 14. Components and .NET
- Week 2. In Review
- Week 3: At a Glance
- Day 15. Writing International Applications
- Day 16. Using Macros in Visual Studio .NET
- Day 17. Automating Visual Studio .NET
- Day 18. Using Crystal Reports
- Day 19. Understanding Microsoft Application Center Test
- Day 20. Using Visual SourceSafe
- Day 21. Object Role Modeling with Visio
- Week 3. In Review
Quiz
-
The Windows Forms classes are located in the ___________________ namespace.
System.Windows.Forms.
-
By setting the _______________ property in a control, I can make sure that my code is not changed if someone inherits my form.
You need to change the Modifiers property to Private.
-
The ______________ property returns an array of MdiChildren in an MDI application.
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.
-
What are the properties in the Properties window that enable you to specify the location, docking, and resizing capabilities of a control?
The Dock, Alignment, and Location properties allow you to control how and where controls are positioned on your forms.
-
True or False: I can tell many controls to perform the same method by setting the SameMethod property in the Properties window.
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#.
-
True or False: The Windows Forms Designer Generated code should not be changed.
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.
-
The _____________ argument and the _____________ argument are always passed as parameters to events for a control.
System.Object and System.EventArgs.
Exercises | Next Section

Account Sign In
View your cart