using System;
using System.Windows.Forms;
using System.Drawing;
class myfrm : Form
{
Button b;
public myfrm()
{
b = new Button();
b.SetBounds(100, 100, 150, 50);
b.Text = "Ok";
this.Controls.Add(b);
}
}
class Program
{
static void Main(string[] args)
{
myfrm f = new myfrm();
f.ShowDialog();
}
}
No comments:
Post a Comment