* swf-monthcalendar.cs:
- added more tests to test bolded dates rendering and response svn path=/trunk/winforms/; revision=36624
This commit is contained in:
Родитель
1bddfb2289
Коммит
21bfeccb75
|
@ -15,7 +15,20 @@ namespace MyFormProject
|
|||
|
||||
public MainForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче