void Form1_MouseWheel(object sender, MouseEventArgs e) { Scene s = GameFramework.GetCurrentScene(); if (e.Delta < 0) { s.Zoom(false); } else { s.Zoom(true); } }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { Scene s = GameFramework.GetCurrentScene(); ((GIS_Scene)s).Exiting(); }