Saturday, February 4, 2012

Create Visual C++ CLR Windows Forms Application on Microsoft Visual Studio 11 Developer Preview

- Click New Project... on the front page of Microsoft Visual Studio 11 Developer Preview.

- Select template of Visual C++ CLR, Windows Forms Application to to create application with a Windows user interface, name WindowsFormsApplication1. And click OK.
New a Visual C++ CLR Windows Forms Application

- The application wizard will generate a Windows application with a empty form for you.
Windows Forms Application

- Click on the Toolbox tab, and click the Auto Hide icon to keep it open.
Open Toolbox

- The Design window will re-align after the Toolbox pane ecpended.


- Drag a Label control from Toolbox to the form in Design window.
Add a Label

- Enter "Hello" in the Text field in Properties window, text of the Label in the form will change accordingly after press ENTER.
Change property

- Build and Run.
Demo program of Visual C++ CLR Windows Forms Application

No comments:

Post a Comment