private void button_add_project_Click(object sender, EventArgs e) { Ask_form ask = new Ask_form(); int count = 0; if (ask.ShowDialog() == DialogResult.OK) { count = int.Parse(ask.Count); } New_task new_project = new New_task(this, count); new_project.Show(); }
private void btn_add_task_Click(object sender, EventArgs e) { New_task add_task = new New_task(this); add_task.Show(); }