, . , ( , ). : , .
, :
- , ;
- ;
- ;
- .
, , , . ( ?) , - , , .
, , , , . , mrButton, " ".
.
:
- Visual C# Express.
- Windows: File ("") Create project (" ") Windows Application (" Windows Forms").
- Visual C# Express , "" .
- ( ) Form1.cs.
- Program.cs "" .
- , Program.cs , ( .
using System;
using System.Windows.Forms;
class MyButtonClass: Form
{
private Button mrButton;
// -
public MyButtonClass()
{
mrButton = new Button();
mrButton.Text = " ";
this.Controls.Add(mrButton);
}
//
static void Main()
{
Application.Run(new MyButtonClass());
}
}
F5 ( ""). , , . , " ". . , , .