private void AddTaskButton_Click(object sender, EventArgs e) { Form form = new AddTaskForm(this); form.Show(); }
private void EditTaskButton_Click(object sender, EventArgs e) { Form form = new AddTaskForm(this, selectedTask); form.Show(); }