示例#1
0
 static void OnQuitEvent(QuitEventArgs e)
 {
     if (Quit != null)
     {
         Quit(instance, e);
     }
 }
示例#2
0
		private void quit(object sender, QuitEventArgs e)
		{
			thread.Abort();
			
			adapter.StopStreaming();
			adapter.SetControlValue(Control.Mute, 1);
			
			Events.QuitApplication();
		}
示例#3
0
 /// <summary>
 /// Ensures the application loop is properly shut down (this event must be included)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Quit(object sender, QuitEventArgs e)
 {
     
     if (SDLExitEvent != null)
         SDLExitEvent();
     Events.QuitApplication();
 }
示例#4
0
 private static void OnQuit(object sender, SdlDotNet.Core.QuitEventArgs e)
 {
     Quit();
 }
示例#5
0
		private void Quit(object sender, QuitEventArgs e)
		{
			Events.QuitApplication();
		}
示例#6
0
		static void Events_Quit(object sender, QuitEventArgs e) {
			Events.QuitApplication();
		}
示例#7
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     m_VideoTextureManager.Dispose();
     Events.QuitApplication();
 }
示例#8
0
 private void Events_Quit(object sender, QuitEventArgs e)
 {
     RemoveHandlers();
     Events.QuitApplication();
 }
示例#9
0
 private void Quit(object sender, QuitEventArgs e)
 {
     Quit();
 }
示例#10
0
文件: SDLUI.cs 项目: cryogen/VM86CS
 void EventsQuit(object sender, QuitEventArgs e)
 {
     Application.Exit();
 }
示例#11
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     Console.WriteLine("Sluiten...");
     Events.QuitApplication();
 }
示例#12
0
 private void Quit(object sender, QuitEventArgs e)
 {
     movie.Stop();
     movie.Close();
     Events.QuitApplication();
 }
示例#13
0
		private static void AppQuitEvtHandler(object sender, QuitEventArgs e) { Quit(); }
示例#14
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     quit = 1;
 }
示例#15
0
 private void Quit(object sender, QuitEventArgs e)
 {
     SdlDotNet.Core.Events.QuitApplication();
 }
示例#16
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     _remoteDrawingList.VideoBackground.Dispose();
     Events.QuitApplication();
     Environment.Exit(0);
 }
示例#17
0
 private void Quit(object sender, QuitEventArgs e)
 {
     Glu.gluDeleteQuadric(this.quadratic);
     // Delete The Quadratic To Free System Resources
 }
 private static void Renderer_Quit(object sender, QuitEventArgs args)
 {
     Events.QuitApplication();
     Application.Exit();
 }
示例#19
0
 public virtual void Quit(object sender, QuitEventArgs args)
 {
     Events.QuitApplication();
 }
示例#20
0
 static void OnQuitEvent(QuitEventArgs e)
 {
     if (Quit != null)
     {
         Quit(instance, e);
     }
 }
示例#21
0
 // This procedure is called when the event loop receives an exit event (window close button is pressed)
 public static void onQuit(object sender, QuitEventArgs args)
 {
     Events.QuitApplication();
 }
示例#22
0
文件: Game.cs 项目: hallgeirl/Hiage
 /// <summary>
 /// Handle closing of the window, causing the application to exit.
 /// </summary>
 /// <param name="sender">
 /// A <see cref="System.Object"/>
 /// </param>
 /// <param name="args">
 /// A <see cref="QuitEventArgs"/>
 /// </param>
 public void OnQuit(object sender, QuitEventArgs args)
 {
     Shutdown();
 }
示例#23
0
文件: Program.cs 项目: tgy/CSharp
 private static void ApplicationQuitEventHandler(object sender, QuitEventArgs args)
 {
     Events.QuitApplication();
 }
示例#24
0
 private void OnQuit(object sender, QuitEventArgs e)
 {
     Events.Remove();
     Events.QuitApplication();
 }
示例#25
0
        public void Quit(object sender, QuitEventArgs e)
        {
            mIsAlive = false;

            Events.QuitApplication();
        }
示例#26
0
文件: Sprite.cs 项目: Blizz9/FanCut
 /// <summary>
 /// Processes Quit Events
 /// </summary>
 /// <param name="args">Event args</param>
 public virtual void Update(QuitEventArgs args)
 {
 }
示例#27
0
 void OnQuit(object sender, QuitEventArgs e)
 {
     Quit();
     Events.QuitApplication();
 }