What I need to do is create an instance of a class.... this sub:
VB Code:
  1. Private Sub btnFrequency_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFrequency.Click
  2.         Call DisplayResults(statCurrent.FrequencyStats(lstValues.ToDoubleArray)(0))
  3.     End Sub
calls a overridable overloads function named FrequencyStats. I have the code written all the way down to populating an array with the answers I need. The final step of the above mentioned sub is to call DisplayResults here is the code for that:
VB Code:
  1. Private Sub DisplayResults(ByVal f As Statistics.StatisticsGeneral.Frequency)
  2.         With f
  3.             lblMedian.Text = .Median.ToString
  4.             lblMean.Text = .Mean.ToString
  5.             lblRange.Text = .Range.ToString
  6.             lblMinimum.Text = .Minimum.ToString
  7.             lblmaximum.text = .Maximum.ToString
  8.         End With
  9.     End Sub
How do I get my array that is populated with the answers to "communicate" with this sub and display my answers?
Thanks in advance.