Create a property in
Form2
public partial class Form2 : Form
{
public int[] MyArray { get; set; }
public Form2()
{
InitializeComponent();
}
Assign the value to the property of Form2 before calling show()
int[] data = new int[1000];
Form2 obj = new Form2();
obj.MyArray = data;
obj.Show();
and you can access those values in the
Form_Load
event