In wonder if I can pass a List<double> to another Form when this form opens ?
Code: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 ?
Thank you...
Code:String^ string1; Form2 ^form2 = gcnew Form2(string1); //Pass string1 to the opening Form2 form2->Show();Code:Form2( String^ getstring1) { InitializeComponent(); // //TODO: Add the constructor code here // }