/// <summary> /// 任务添加 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnTaskAdd_Click(object sender, EventArgs e) { WinForm.Task.AddTask Form = new WinForm.Task.AddTask(); Form.refreshHandler += btnTasksSearch_Click; Form.ShowDialog(); }