110,533
社区成员
发帖
与我相关
我的任务
分享
static Dictionary<DateTime, string> dic = new Dictionary<DateTime, string>();
public Dictionary<DateTime, string> DateWithEvent
{
get
{
return dic;
}
}
private void dateCalendar_SelectedDatesChanged(object sender, SelectionChangedEventArgs e)
{
if (DayConvert.DateWithEvent.ContainsKey(dateCalendar.SelectedDate.Value))
{
// to do
}
}