RadVC .NET
Play RAD in Visual C++
Introduction
1. The IDE
2
. The Project Dialog
3. The Menu editor
4. The Code
#pragma
once
// Form1.h : header file
// Form1 form
namespace
WindowsApp1
{
using
namespace
bNET;
using
namespace
System;
using
namespace
System::ComponentModel;
using
namespace
System::Collections;
using
namespace
System::Windows::Forms;
using
namespace
System::Drawing;
class
Form1 :
public
System::Windows::Forms::Form
{
// Construction
public
:
Form1(
void
)
{
InitializeComponent();
}
private
:
System::Windows::Forms::Button button1;
System::Windows::Forms::Label label1;
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void
InitializeComponent(
void
)
{
//
// button1
//
button1.TabIndex = 0;
button1.Text = "button1";
button1.Name = "button1";
button1.Location = System::Drawing::Point(80, 212);
button1.Click +=
new
EventHandler(
this
, Form1::button1_Click);
Controls.Add(button1);
//
// label1
//
label1.Location = System::Drawing::Point(72, 68);
label1.Size = System::Drawing::Size(112, 40);
label1.TabIndex = 3;
label1.Name = "label1";
label1.Text = "label1";
Controls.Add(label1);
//
// Form1
//
AutoScaleBaseSize = System::Drawing::Size(5, 13);
Name = "Form1";
ClientSize = System::Drawing::Size(292, 293);
Text = "Form1";
}
void
button1_Click(Object& sender, EventArgs& e)
{
// <RadVC> TODO: Add your code here
}
};
}