예제 #1
0
파일: Form1.cs 프로젝트: ajon542/CS480
        public Form1()
        {
            InitializeComponent();

            // Setup the event handlers.
            Application.ApplicationExit += OnApplicationExit;
            Paint      += new PaintEventHandler(DrawRegion_Paint);
            MouseClick += new MouseEventHandler(DrawRegion_MouseClick);

            // Enable double buffering.
            DoubleBuffered = true;

            // Initialize the game application.
            gameApp.Initialize();
        }