예제 #1
0
        private void BtnAddTask_Click(object sender, EventArgs e)
        {
            FormAddTask form2 = new FormAddTask();

            form2.pd   = new FormAddTask.PassData(PassData);
            form2.show = new FormAddTask.ShowForm1(Show);
            form2.Show();
            this.Hide();
        }
예제 #2
0
        private void EditTask(Task t)
        {
            FormAddTask f = new FormAddTask(t);

            f.Text = "Edit task";
            f.pd   = new FormAddTask.PassData(PassData);
            f.show = new FormAddTask.ShowForm1(Show);
            f.Show();
            this.Hide();
        }