namespace ChaserWinForms { public partial class Form1 : Form { public Form1() { InitializeComponent(); Painter = new PainterWinform(this.CreateGraphics()); } private void button1_Click(object sender, EventArgs e) { Beast beast = new Beast(100, 100); beast.Draw(); } } }