Beispiel #1
0
 /**
  * Constructor
  */
 public MainModel(FileDataHandler fileDataHandler)
 {
     _fileDataHandler = fileDataHandler;
     _fileDataHandler.CountyUpdated       += OnCountyFileUpdated;
     _fileDataHandler.CountiesRead        += OnFileCountiesRead;
     _fileDataHandler.DateFiltersRead     += OnFileDateFilterRead;
     _fileDataHandler.DateFilterStateRead += OnFileDateFilterStateRead;
     _fileDataHandler.DocketYearRead      += OnDocketYearRead;
     _fileDataHandler.Error   += OnFileHandlerError;
     _fileDataHandler.Warning += OnFileHandlerWarning;
     _fileDataHandler.ZipCodeFilterStateRead += OnFileZipCodeFilterStateRead;
 }
Beispiel #2
0
 public CourtsModel(FileDataHandler fileDataHandler)
 {
     _databaseDataHandler             = new DatabaseDataHandler();
     _databaseDataHandler.DataLoaded += OnDatabaseDataLoaded;
     _fileDataHandler = fileDataHandler;
 }