111,093
社区成员




for (int i = 0; i < list.Count; i++)
{
Appointment app = new DevExpress.XtraScheduler.Appointment();
app.AllDay = false;
app.LabelId = 3;
//app.Location = list[i].f_ti_code;
app.Location = "";
app.Start = list[i].f_ti_implementtime.Value;
app.End = app.Start;
app.Subject = list[i].f_ti_name + " " + list[i].f_ti_implementtime.Value.ToString("HH:mm");
// app.StatusId = 1;
app.Description = list[i].pkid;
//整天设置成true 否则显示开始结束时间
app.AllDay = true;
schedulerStorage1.Appointments.Add(app);
}