//添加日程的按钮响应时间 private void btnAdd_Click(object sender, EventArgs e) { AddScheduleForm addScheduleForm = new AddScheduleForm(); addScheduleForm.ShowDialog(); UpdateDisplayTodaySchedules(panelMonth1.Datetime); }
//添加日程按钮 private void buttonAdd_Click(object sender, EventArgs e) { AddScheduleForm addScheduleForm = new AddScheduleForm(); addScheduleForm.ShowDialog(); UpdateDisplayTodaySchedules(DateTime.Now); }