private void addPlotBTN_Click(object sender, System.EventArgs e) { if (!Ready()) { return; } _plotInfo = new PlotInfo() { InputFilePath = filenameTXT.Text, PlotColor = colorCMB.Text, GraphType = graphTypeCMB.Text, DomainMin = int.Parse(domainMinTXT.Text), DomainMax = int.Parse(domainMaxTXT.Text), DomainHashPeriod = int.Parse(domainHashPeriodTXT.Text), RangeHashPeriod = int.Parse(rangeHashPeriodTXT.Text), RangeMin = int.Parse(rangeMinTXT.Text), RangeMax = int.Parse(rangeMaxTXT.Text), DomainDataColumnName = xDatasetCMB.Text, RangeDataColumnName = yDatasetCMB.Text, Metadata = $"Type:{graphTypeCMB.Text}-Color:{colorCMB.Text} Domain:\"{xDatasetCMB.Text}\" ({domainMinTXT.Text}->{domainMaxTXT.Text}) Period:{domainHashPeriodTXT.Text} ,Range: \"{yDatasetCMB.Text}\"({rangeMinTXT.Text}->{rangeMaxTXT.Text}) Period:{rangeHashPeriodTXT.Text}\n", }; _baseForm.OnPlotCompleted(_plotInfo); }
protected internal virtual void OnPlotCompleted(PlotInfo obj) { PlotCompleted?.Invoke(obj); }