button1->Location = Point(23, 96);
button1->Size=System::Drawing::Size(100,60);
button1->Name = "button1";
button1->TabIndex = 0;
button1->Text = "Start my first C++ WinForm Application";
button1->Click += new System::EventHandler(this,
&Form1::button1_Click);
//
// label1
//
label1->Location = Point(150, 84);
label1->Name = "label1";
label1->TabIndex = 1;
//
// Form1
//
AutoScaleBaseSize = System::Drawing::Size(5, 13);
ClientSize = System::Drawing::Size(292, 273);
Controls->Add(label1);
Controls->Add(button1);
Name = "Form1";
Text = "Form1";
ResumeLayout(false);
}
private:
void button1_Click(Object* sender, System::EventArgs* e)
{
label1->Text = "Hello World!";
}
};
}
// This is the entry point for this application
int __stdcall WinMain()
{
Application::Run(new myspace::Form1());
return 0;
}

