예제 #1
0
 private static void OnError(Exception e)
 {
     using (ErrorForm errorForm = new ErrorForm(Application.ProductName, e, DebugHelper.Logger, LogsFilePath, Links.URL_ISSUES))
     {
         errorForm.ShowDialog();
     }
 }
예제 #2
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(Application.ProductName, "Upload errors", errors, DebugHelper.Logger,
                        Program.LogsFilePath, Links.URL_ISSUES))
                    {
                        form.ShowDialog();
                    }
                }
            }
        }
예제 #3
0
 private static void OnError(Exception e)
 {
     using (ErrorForm errorForm = new ErrorForm(e, LogsFilePath, Links.URL_ISSUES))
     {
         errorForm.ShowDialog();
     }
 }