protected void OnPause(PauseEventArgs args) { if (RaisePause != null) { RaisePause(this, args); } }
private void OnPause(string id) { PauseEventArgs e = new PauseEventArgs(); e.ID = id; _pauseEventHandler?.Invoke(this, e); }
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); } }
static void OnPauseDemanded(Object sender, PauseEventArgs e) { Console.WriteLine("Press any key to continue . . . "); Console.ReadKey(true); e.Continue(); }
private void Pause_RaisePause(object sender, PauseEventArgs e) { Time.timeScale = (e.isPaused == true) ? 0.0f : 1.0f; }
public PauseEventResult OnResumeCallBack(PauseEventArgs _args) { m_isPaused = m_isPaused = false; return(null); }
public PauseEventResult OnPauseCallBack(PauseEventArgs _args) { m_isPaused = true; return(null); }
void menuLeave(object sender, PauseEventArgs args) { SendMessage("animateStop", "Section_Ativa"); }
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); }
private void Pause_RaisePause (object sender, PauseEventArgs e) { this.isPaused = e.isPaused; }
void HandleCrystallographyUIPausePanelPauseDetected(object sender, PauseEventArgs e) { Pause (e.isPaused); }
void animatePause(object sender, PauseEventArgs args) { anim.SetBool("Menu_Active", args.IsPaused); }
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"); }
private void resetPause(object sender, PauseEventArgs args) { currentlySelected = opcoes.Count - 1; hasChangedDirection(Input.GetAxisRaw("Vertical")); }