/// <summary> /// Essentially resets this object for next use. Could dispose and make a new one /// but where is the fun in that? /// </summary> public void VoidEvent() { if (_data.RSettings.ProgramSettings.Debug) { _ = _log.LogMessage("Voiding test event", false, color: LOG_COLOR); } IsValid = false; CanUseGallery = false; EventEditTime = null; StartDateTime = null; EndDateTime = null; Title = null; Creators.Clear(); Creators.TrimExcess(); GalleryImages.Clear(); GalleryImages.TrimExcess(); ImageGallery = null; WorkshopLink = null; IsCasual = true; Moderator = null; Description = null; ServerLocation = null; CompPassword = null; CompCasualServer = null; }
public void Start(AnalysisConfig config) { // Set the messages Messages.Clear(); GalleryImages.Clear(); IsAnalysisRunning = true; Reporter.Config = config; m_configuration = config; Controller = new AnalysisController(); Controller.AnalysisComplete += Controller_AnalysisComplete; Controller.AnalysisError += Controller_AnalysisError; Controller.AnalysisCancelled += Controller_AnalysisCancelled; Controller.AnalysisStarted += ControllerOnAnalysisStarted; // Start the analysis. Controller.StartMultiAlignGui(config, this); }