/// <summary> /// Displays error in a message box /// </summary> /// <param name="error">error string</param> private void showError(String error) { _windowActiveWatchdog.Pause(); DialogUtils.ShowTimedDialog(this, R.GetString("Error"), error); _windowActiveWatchdog.Resume(); }
/// <summary> /// Displays a timed dialog with the title and message /// </summary> /// <param name="title">title of the dialog</param> /// <param name="message">message</param> private void showTimedDialog(String title, String message) { _windowActiveWatchdog.Pause(); DialogUtils.ShowTimedDialog(PanelManager.Instance.GetCurrentPanel() as Form, title, message); _windowActiveWatchdog.Resume(); }
/// <summary> /// Displays a timed dialog with the title and message /// </summary> /// <param name="title">title of the dialog</param> /// <param name="message">message</param> private void showTimedDialog(String title, String message) { _windowActiveWatchdog.Pause(); DialogUtils.ShowTimedDialog(this, title, message); _windowActiveWatchdog.Resume(); }