public static void ShowErrorWindow(string errorTitle, string errorMessage, string errorDetail) { ErrorDialog dialog = new ErrorDialog(errorTitle, errorMessage, errorDetail, Gui.MainWindow); dialog.Show(); dialog.Exec(); }