Video How to: Creating a Windows Forms Control (C+)

Creating a Windows Forms Control Video How To

Authors: Harry Miller, Kathleen McGrath, Jim Vance, Marzena Makuta, Microsoft Corporation

Applies to: Microsoft Visual C++ 2008

Length: 00:07:09 | Size: 21.8 MB | Type: WMV file

 

Watch the video

Download the video and transcript

Read the step-by-step article

Video Summary

When you create a Windows Forms control to perform a task, you can save that control and import it into any Windows Forms application where you want to perform that task. Creating the control saves you from having to write the same code in multiple projects.

This video shows you how to create a simple control that increments a number every time you click it. The following tasks are included in the process:

  • How to create a project in C++.

  • How to create a user interface.

  • How to add C++ code to make the control work.

  • How to add the control to the Visual Studio Toolbox.

  • How to create a second project in your solution to test the control.

  • How to run and test your program.

The Visual C++ Help includes the code and the steps that are demonstrated in this video. See Creating a Windows Forms Control (C+).

Additional Video Resources

Video How Tos

MS Help WorkshopTOC Folder icon  Visual C++ Videos

link to videoVideo How to: Creating a Windows Forms Application by Using the .NET Framework (C+)

link to videoVideo How to: Creating Win32 Applications (C+)

Other Videos

Additional Help Resources