private void add_Click(object sender, EventArgs e) { Form3 form3 = new Form3(); form3.ShowDialog(); if (form3.DialogResult == DialogResult.OK) { listView1.Items.Add(form3.TODO); } refresh(); }
private void add_Click(object sender, EventArgs e) { Form3 form3 = new Form3(); form3.ShowDialog(); if (form3.DialogResult == DialogResult.OK) { addTask(form3.TODO); } refresh(); }