public bool OpenProject(FilePath fileName) { Project = new WabbitcodeProject(fileName); Project.OpenProject(fileName); _parseInfo.Clear(); Task.Factory.StartNew(() => { _statusBarService.ShowProgressBar(true); ParseFiles(Project.MainFolder, 100); _statusBarService.ShowProgressBar(false); }); if (ProjectOpened != null) { ProjectOpened(this, EventArgs.Empty); } return(true); }