Application #46. Dynamic Control Creation
This sample application demonstrates how to build a program that dynamically creates controls on the fly to generate its user interface. The sample application consists of two main forms. The first form allows the user to add Button and TextBox controls to the form at run time by clicking a Button control, as shown in Figure 4-32.
Figure 4-32. The main form of the sample application allows the user to dynamically create controls on the form.
The second form is a survey form that asks the user a series of questions. These questions are contained in a separate XML file. As the form ...
Get 101 Microsoft® Visual Basic® .NET Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.