Esempio n. 1
0
        private void btn_NewTask_Click(object sender, EventArgs e)
        {
            NewTask newTaskForm = new NewTask();

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

            newTask.Show();
        }