Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Video How Tos
Visual C++ Videos
 Video How to: Creating a Windows Fo...

  Switch on low bandwidth view
Video How to: Creating a Windows Forms Control (C++)

Creating a Windows Forms ControlVideo 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

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++).

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker