public void b_new_Click(object sender, EventArgs e) { CreateTask createTask = new CreateTask(); createTask.FormClosed += CreateTask_FormClosed; createTask.Show(); }
private void BEdit_Click(object sender, EventArgs e) { CreateTask editTask = new CreateTask(this); editTask.Show(); //editTask.Dispose(); //editTask = null; }