public void ShowErrorMessage(String shortDiscription, String longDiscription)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new Action <string, string>(this.ShowErrorMessage), shortDiscription, longDiscription);
     }
     else
     {
         using (ErrorMessageDialog dialog = new ErrorMessageDialog())
         {
             dialog.ShowDialog(this, shortDiscription, longDiscription);
         }
     }
 }
 public void ShowErrorMessage(String shortDiscription, String longDiscription)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(new Action<string, string>(this.ShowErrorMessage), shortDiscription, longDiscription);
     }
     else
     {
         using (ErrorMessageDialog dialog = new ErrorMessageDialog())
         {
             dialog.ShowDialog(this, shortDiscription, longDiscription);
         }
     }
 }