Windows Forms: Dynamic Control Creation

This sample shows some how to create a screen saver using Visual Basic.NET.

Featured Highlights:

This how-to demonstrates many of the important features of dynamically creating controls, associating appropriate event handlers and adding them to the Control collection of a Form. Concepts demonstrated are:

Requirements:

Microsoft Visual Studio.NET Professional or greater.
Windows 2000 or Windows XP.

Running the Sample:

Simply press F5.

See Also:

System.Windows.Forms Namespace, Control Class, Handling and Raising Events