예제 #1
0
 protected void OnPause(PauseEventArgs args)
 {
     if (RaisePause != null)
     {
         RaisePause(this, args);
     }
 }
예제 #2
0
        private void OnPause(string id)
        {
            PauseEventArgs e = new PauseEventArgs();

            e.ID = id;

            _pauseEventHandler?.Invoke(this, e);
        }
예제 #3
0
        private void CurrentDebuggerSession_Paused(object sender, PauseEventArgs e)
        {
            // Exceptions should be handled by the debugger.
            if (e.Reason == PauseReason.Exception)
            {
                return;
            }

            var session = sender as DebuggerSession;
            var range   = session.CurrentSourceRange;

            if (range != null && range.FilePath != null)
            {
                SourceNavigator.NavigateToLocation(range);
            }
        }
예제 #4
0
파일: Repl.cs 프로젝트: marcusanth/YAMP
 static void OnPauseDemanded(Object sender, PauseEventArgs e)
 {
     Console.WriteLine("Press any key to continue . . . ");
     Console.ReadKey(true);
     e.Continue();
 }
예제 #5
0
 private void Pause_RaisePause(object sender, PauseEventArgs e)
 {
     Time.timeScale = (e.isPaused == true) ? 0.0f : 1.0f;
 }
예제 #6
0
 public PauseEventResult OnResumeCallBack(PauseEventArgs _args)
 {
     m_isPaused = m_isPaused = false;
     return(null);
 }
예제 #7
0
 public PauseEventResult OnPauseCallBack(PauseEventArgs _args)
 {
     m_isPaused = true;
     return(null);
 }
예제 #8
0
 void menuLeave(object sender, PauseEventArgs args)
 {
     SendMessage("animateStop", "Section_Ativa");
 }
예제 #9
0
    private void _pauseTokeSource_onPause(object sender, PauseEventArgs e)
    {
        var message = string.Format("Task {0} at {1}", e.Paused ? "Paused" : "Resumed", DateTime.Now.ToString());

        this.Invoke(_updateGUI, message);
    }
예제 #10
0
	private void Pause_RaisePause (object sender, PauseEventArgs e)
	{
		this.isPaused = e.isPaused;
	}
예제 #11
0
 void HandleCrystallographyUIPausePanelPauseDetected(object sender, PauseEventArgs e)
 {
     Pause (e.isPaused);
 }
예제 #12
0
 void animatePause(object sender, PauseEventArgs args)
 {
     anim.SetBool("Menu_Active", args.IsPaused);
 }
예제 #13
0
 public void PauseShowMessage(object sender, PauseEventArgs e)
 {
     MessageBox.Show("Download Pauses, Current Percentage is " + e.percent);
 }
 void menuLeave(object sender, PauseEventArgs args)
 {
     SendMessage("animateStop", "Menu_Ativo");
 }
예제 #15
0
 private void resetPause(object sender, PauseEventArgs args)
 {
     currentlySelected = opcoes.Count - 1;
     hasChangedDirection(Input.GetAxisRaw("Vertical"));
 }