Im trying to add data to a listview from another form. I have tired doing it from the same form and that works like it should, but when I try to pass the info between the forms no data gets entered.
Form 1 Contains listview
private void button3_Click(object sender, EventArgs e)
{
newTask form = new newTask();
form.Show();
}
Form 2 Contains form to submit info to listview
public void button1_Click(object sender, EventArgs e)
{
string url = textBox1.Text;
string size = textBox2.Text;
Form1 table = new Form1();
table.listView1.Items.Add(url);
table.listView1.Items.Add(size);
this.Hide();
}