I have created two forms in the designer, formA and formB, one is a default parent form and the latter is a modified "about box". I need to know the best way to get data of a two dimensional array to formB from formA, but so far I've only got it to "work" when formA was inadvertently opened a second time alongside formB.
Basic code at the moment is:
// Form A (onload)
public string[,] arrayname = new string[5, 2] { some values };
// Form A (onevent)
formB f2 = new formB(arrayname);
f2.Show();
// Form B (onload)
???
label1.Text = arrayname[0, 0];
label2.Text = arrayname[0, 1];
label3.Text = arrayname[1, 0];
...
Thanks in advance!