Passing Arrays In & Out of Custom Controls?

G

Guest

What is the best way to pass an array in and out of a control in C#. As a
very simple example, suppose I have a control which displays 4 critical
pieces of statistical info like the Mean, St-Dev, Min, and Max of a 1D array
input.

I'd like to see this array of numbers as a property which I can set...then
when I set it, the calculations are automatically done and displayed in the
control.

Ultimately I could add fancier stuff like graphs and more complex analysis
(which the user could choose to display or turn off). What is the best way to
pass the 1D array in and out of the control? Whenever I go to the 'Add
Property' wizard, there is no option for an array?

Thanks much to anyone who could take the time to answer.

Craig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top