示例#1
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            Activity_DAO activity_dao = new Activity_DAO();


            activity_dao.addNewActivity(tboxName.Text, dateTimePickerStart.Value, dateTimePickerEnd.Value);
            refreshActivities();
        }