Ejemplo n.º 1
0
        public void ShowErrors()
        {
            if (IsItemSelected && SelectedItem.Info.Result != null && SelectedItem.Info.Result.IsError)
            {
                string errors = SelectedItem.Info.Result.ErrorsToString();

                if (!string.IsNullOrEmpty(errors))
                {
                    using (ErrorForm form = new ErrorForm(Resources.UploadInfoManager_ShowErrors_Upload_errors, errors, Program.LogsFilePath, Links.URL_ISSUES, false))
                    {
                        form.ShowDialog();
                    }
                }
            }
        }
Ejemplo n.º 2
0
 private static void OnError(Exception e)
 {
     using (ErrorForm errorForm = new ErrorForm(e, LogsFilePath, Links.URL_ISSUES))
     {
         errorForm.ShowDialog();
     }
 }
Ejemplo n.º 3
0
 private static void OnError(Exception e)
 {
     using (ErrorForm errorForm = new ErrorForm(e.Message, $"{e}\r\n\r\n{TitleLong}", LogsFilePath, Links.URL_ISSUES))
     {
         errorForm.ShowDialog();
     }
 }