예제 #1
0
        private void addLink_Click(object sender, EventArgs e)
        {
            Form NewTaskForm = new NewTaskForm(taskControler, reminderDateTime.Value);

            NewTaskForm.ShowDialog();
            reminderTabControl.SelectedTab = homeTab;
            PrintDayTasks(reminderDateTime.Value.ToShortDateString());
        }
예제 #2
0
        private void editButton_Click(object sender, EventArgs e)
        {
            Form NewTaskForm = new NewTaskForm(taskControler, reminderDateTime.Value, detailsBox.Text);

            NewTaskForm.ShowDialog();
            taskControler.Remove((Task)taskDetailsTab.Tag);
            reminderTabControl.SelectedTab = homeTab;
            PrintDayTasks(reminderDateTime.Value.ToShortDateString());
        }