Пример #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     Task oTask = (Task)lvwTasks.SelectedItems[0].Tag;
     frmTask oForm = new frmTask();
     oForm.ShowDialog(oTask);
     DataLoadControl();
 }
Пример #2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmTask oForm = new frmTask();
     oForm.ShowDialog();
     DataLoadControl();
 }