Ejemplo n.º 1
0
 public static void ShowWarning(this UserControl frm, string message, string title = "")
 {
     try
     {
         var res = new ReturnedSaveFuncInfo();
         res.AddWarning(message);
         var frmError = new FrmShowErrorMessage(res, title);
         frmError.ShowDialog(frm);
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }