我正在使用Telerik Scheduler Reminder(winform),当我来的时候,我需要捕获启动Reminder窗口的事件,我可以更改它以满足我的需求。我查看了所有的属性,没有这样的事件。有谁知道问题在哪里?
我的代码
private void Form1_Load(object sender, EventArgs e)
{
this.radScheduler1.Appointments.BeginUpdate();
DateTime dtStart = DateTime.Now.AddSeconds(5);//here i ser reminder for 5sec after i lunch the program
DateTime dtEnd = dtStart.AddHours(1);
Appointment appointment = new Appointment(dtStart, dtEnd, "One", "This is first");
appointment.BackgroundId = (int)AppointmentBackground.MustAttend;
appointment.StatusId = (int)AppointmentStatus.Unavailable;
appointment.Snoozed = TimeSpan.FromSeconds(10);
this.radScheduler1.Appointments.Add(appointment);
}
答案 0 :(得分:0)
您正在寻找的事件称为 AlarmFormShowing 。有关此内容的更多信息,请访问Telerik UI for WinForms documentation。