Pass a List<double>^ to an opening Form
In wonder if I can pass a List<double> to another Form when this form opens ?
List<double>^ ExampleList = gcnew List<double>; //ExampleList has for example 50 elements
With the code below I can pass a String^ from Form1 to Form2 that opens.
I get this passed string as in this example: getstring1.
I wonder if it is possible to pass a List in this same way or any simular way ?
Form2 ^form2 = gcnew Form2(string1); //Pass string1 to the opening Form2
Form2( String^ getstring1)
//TODO: Add the constructor code here