- added more tests to test bolded dates rendering and response 

svn path=/trunk/winforms/; revision=36624
This commit is contained in:
John BouAntoun 2004-11-26 11:19:10 +00:00
Родитель 1bddfb2289
Коммит 21bfeccb75
1 изменённых файлов: 14 добавлений и 1 удалений

Просмотреть файл

@ -16,6 +16,19 @@ namespace MyFormProject
public MainForm()
{
InitializeComponent();
// set up some bolded dates
monthcal1.BoldedDates = new DateTime [] {DateTime.Now, DateTime.Now.AddDays (2)};
monthcal2.AddMonthlyBoldedDate (DateTime.Now);
monthcal2.AddMonthlyBoldedDate (DateTime.Now.AddDays (2));
monthcal2.AddMonthlyBoldedDate (DateTime.Now.AddDays (5));
monthcal2.UpdateBoldedDates();
monthcal3.AddAnnuallyBoldedDate (DateTime.Now.AddDays (-2));
monthcal3.AddAnnuallyBoldedDate (DateTime.Now.AddDays (-5));
monthcal3.UpdateBoldedDates();
monthcal2.RemoveMonthlyBoldedDate (DateTime.Now.AddDays (2));
monthcal2.UpdateBoldedDates();
}
private void InitializeComponent()