示例#1
0
        private void btn_NewTask_Click(object sender, EventArgs e)
        {
            NewTask newTaskForm = new NewTask();

            newTaskForm.ShowDialog();//模态显示
        }
示例#2
0
        private void NewTask()
        {
            NewTask newTask = new NewTask();

            newTask.Show();
        }