/// <summary> /// 取数据 /// </summary> /// <returns></returns> BindingList <CustomAppointment> getData() { return(CustomAppointmentService.getAllTasksByTaskTemplateId("4")); }
private BindingList <CustomAppointment> getData() { return(CustomAppointmentService.getAllTasksByTaskTemplateId(this.taskTemplateId)); }
private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { this.customAppointments = CustomAppointmentService.getAllTasksByTaskTemplateId(this.taskTemplateId); }