Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 16:14:30 (8 years ago)
Author:
gkronber
Message:

#2522:

  • moved UI components out of HeuristicLab.PluginInfrastructure -> HeuristicLab.PluginInfrastructure.UI
  • moved ErrorDialog to HeuristicLab.MainForm.WindowsForms
  • moved ErrorHandling (for building an error message string) to HeuristicLab.Common
  • Changed exception handlers in Views to use MainForm.ShowError()
  • Changed usages for ErrorDialog in non-UI components to throw exceptions instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/Administration/Views/OKBItemCollectionView.cs

    r12012 r13338  
    4040      }
    4141      catch (Exception ex) {
    42         ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex);
     42        MainFormManager.MainForm.ShowError("Delete failed.", ex);
    4343      }
    4444    }
     
    4848      }
    4949      catch (Exception ex) {
    50         ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex);
     50        MainFormManager.MainForm.ShowError("Delete failed.", ex);
    5151      }
    5252    }
     
    5656      }
    5757      catch (Exception ex) {
    58         ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex);
     58        MainFormManager.MainForm.ShowError("Delete failed.", ex);
    5959      }
    6060    }
Note: See TracChangeset for help on using the changeset viewer.