public static void Report(string PROGRAM, string username, string password, string data, Exception ex, AssemblaTicketWindow.LoginSucceedDel success, bool pause, string desc) { CrashReport cr = new CrashReport(PROGRAM, username, password, ex, data, desc); if (success != null) { cr.TicketSucceed += new AssemblaTicketWindow.LoginSucceedDel(success); } if (pause) { cr.ShowDialog(); } else { cr.Show(); } }
public static void Report(string PROGRAM, Exception ex) { CrashReport cr = new CrashReport(PROGRAM, ex); }