Dim cal As WinForm.Calendar = e.Form.Controls("Calendar1")
Dim ct = cal.basecontrol
Dim lst As new List(of Date)
lst.AddRange(ct.BoldedDates)
If lst.Contains(e.Sender.Value) Then
lst.Remove(e.Sender.Value)
Else
lst.Add(e.Sender.Value)
End If
ct.BoldedDates = lst.ToArray