Ejemplo n.º 1
0
 /// <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();
 }
Ejemplo n.º 2
0
 /// <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();
 }
Ejemplo n.º 3
0
 /// <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();
 }