private void btnEdit_Click(object sender, EventArgs e) { Task oTask = (Task)lvwTasks.SelectedItems[0].Tag; frmTask oForm = new frmTask(); oForm.ShowDialog(oTask); DataLoadControl(); }
private void btnAdd_Click(object sender, EventArgs e) { frmTask oForm = new frmTask(); oForm.ShowDialog(); DataLoadControl(); }