public static void ShowError(string message, string title) { frmMessage f = new frmMessage(); f.ShowError(message, title); f.ShowDialog(); }