/// <summary> /// Inits the result overview component /// </summary> /// <param name="overview">the overview instance of the application</param> /// <param name="ioService">the I/O service of the application</param> public void InitResultOverview(ResultOverview overview, IIOService ioService) { // If the default source file exists, try to load the content var sourceFile = overview.Source; if (File.Exists(sourceFile)) { try { var results = ioService.LoadResult(sourceFile); overview.Reload(results); } catch (IOException ioException) { //TODO: What to do?? } } }