private void CalculateCorrelationAndOutperformance() { if (cboBench.SelectedIndex == -1) return; Guid benchId = new Guid(((ListBoxItem)cboBench.SelectedItem).HiddenValue); CurrentFund.RunComparison(benchId); lblCorrel3Yr.Text = CurrentFund.Comparison.CorrelationToBench3Yr.ToString(); lblCorrel5Yr.Text = CurrentFund.Comparison.CorrelationToBench5Yr.ToString(); lblOutperform3Yr.Text = CurrentFund.Comparison.OutperformAvg3Yr.ToString() + "%"; lblOutperform5Yr.Text = CurrentFund.Comparison.OutperformAvg5Yr.ToString() + "%"; }