Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 private void add_Click(object sender, EventArgs e)
 {
     Form3 form3 = new Form3();
     form3.ShowDialog();
     if (form3.DialogResult == DialogResult.OK)
     {
         addTask(form3.TODO);
     }
     refresh();
 }