Example #1
0
 static void OnQuitEvent(QuitEventArgs e)
 {
     if (Quit != null)
     {
         Quit(instance, e);
     }
 }
Example #2
0
		private void quit(object sender, QuitEventArgs e)
		{
			thread.Abort();
			
			adapter.StopStreaming();
			adapter.SetControlValue(Control.Mute, 1);
			
			Events.QuitApplication();
		}
Example #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();
 }
Example #4
0
 private static void OnQuit(object sender, SdlDotNet.Core.QuitEventArgs e)
 {
     Quit();
 }
Example #5
0
		private void Quit(object sender, QuitEventArgs e)
		{
			Events.QuitApplication();
		}
		static void Events_Quit(object sender, QuitEventArgs e) {
			Events.QuitApplication();
		}
 void Events_Quit(object sender, QuitEventArgs e)
 {
     m_VideoTextureManager.Dispose();
     Events.QuitApplication();
 }
Example #8
0
 private void Events_Quit(object sender, QuitEventArgs e)
 {
     RemoveHandlers();
     Events.QuitApplication();
 }
Example #9
0
 private void Quit(object sender, QuitEventArgs e)
 {
     Quit();
 }
Example #10
0
 void EventsQuit(object sender, QuitEventArgs e)
 {
     Application.Exit();
 }
Example #11
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     Console.WriteLine("Sluiten...");
     Events.QuitApplication();
 }
Example #12
0
 private void Quit(object sender, QuitEventArgs e)
 {
     movie.Stop();
     movie.Close();
     Events.QuitApplication();
 }
Example #13
0
		private static void AppQuitEvtHandler(object sender, QuitEventArgs e) { Quit(); }
Example #14
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     quit = 1;
 }
Example #15
0
 private void Quit(object sender, QuitEventArgs e)
 {
     SdlDotNet.Core.Events.QuitApplication();
 }
Example #16
0
 void Events_Quit(object sender, QuitEventArgs e)
 {
     _remoteDrawingList.VideoBackground.Dispose();
     Events.QuitApplication();
     Environment.Exit(0);
 }
Example #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();
 }
Example #19
0
 public virtual void Quit(object sender, QuitEventArgs args)
 {
     Events.QuitApplication();
 }
Example #20
0
 static void OnQuitEvent(QuitEventArgs e)
 {
     if (Quit != null)
     {
         Quit(instance, e);
     }
 }
Example #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();
 }
Example #22
0
 /// <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();
 }
Example #23
0
 private static void ApplicationQuitEventHandler(object sender, QuitEventArgs args)
 {
     Events.QuitApplication();
 }
Example #24
0
 private void OnQuit(object sender, QuitEventArgs e)
 {
     Events.Remove();
     Events.QuitApplication();
 }
Example #25
0
        public void Quit(object sender, QuitEventArgs e)
        {
            mIsAlive = false;

            Events.QuitApplication();
        }
Example #26
0
 /// <summary>
 /// Processes Quit Events
 /// </summary>
 /// <param name="args">Event args</param>
 public virtual void Update(QuitEventArgs args)
 {
 }
Example #27
0
 void OnQuit(object sender, QuitEventArgs e)
 {
     Quit();
     Events.QuitApplication();
 }