Using Visual Studio 2015 and C#
I have two forms, Form1 and Form2 that are part of the same project in Visual Studio. Within Form1, I build a list of strings, based on selections made in check boxes. I need to be able to iterate through this list in Form2. However, I am having trouble calling the list (list1) in Form2, when it is built and updated in Form1.
Form2 gets called in Form1 within a button click, seen below:
public void BTN_Click(object sender, EventArgs e)
{
Form2 frm2 = new Form2();
Looking for any tips to be able to access list1 in Form2. Thanks!