예제 #1
0
        void Form1_MouseWheel(object sender, MouseEventArgs e)
        {
            Scene s = GameFramework.GetCurrentScene();

            if (e.Delta < 0)
            {
                s.Zoom(false);
            }
            else
            {
                s.Zoom(true);
            }
        }
예제 #2
0
        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            Scene s = GameFramework.GetCurrentScene();

            ((GIS_Scene)s).Exiting();
        }