Home > Articles

  • Print
  • + Share This
This chapter is from the book


  1. The Windows Forms classes are located in the ___________________ namespace.

  2. By setting the _______________ property in a control, I can make sure that my code is not changed if someone inherits my form.

  3. The ______________ property returns an array of MdiChildren in an MDI application.

  4. What are the properties in the Properties window that enable you to specify the location, docking, and resizing capabilities of a control?

  5. True or False: I can tell many controls to perform the same method by setting the SameMethod property in the Properties window.

  6. True or False: The Windows Forms Designer Generated code should not be changed.

  7. The _____________ argument and the _____________ argument are always passed as parameters to events for a control.

Quiz Answers

  1. System.Windows.Forms.

  2. You need to change the Modifiers property to Private.

  3. 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. The Dock, Alignment, and Location properties allow you to control how and where controls are positioned on your forms.

  5. 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. 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. System.Object and System.EventArgs.

  • + Share This
  • 🔖 Save To Your Account