using System;
using System.Windows.Forms;
using System.Drawing;
class Test:Form
{
public static void Main() {
Test fm = new Test();
Application.Run(fm);
}
public Test() {
this.Height = 600;
this.Width = 800;
this.Text = "TEST";
this.Paint += new System.Windows.Forms.PaintEventHandler(aaa);
}
private void aaa(PaintEventArgs e)
{
Bitmap mapImage = new Bitmap("c:\\image\\map001.bmp");
Point ulCorner = new Point(100, 100);
e.Graphics.DrawImage(mapImage, ulCorner);
}
}
何がいけないのでしょうか、教えていただきたいです。