コード例 #1
0
 private void bntGetDetails_Click(object sender, EventArgs e)
 {
     nonWorkingDayBindingSource.DataSource = NonWorkingDayController.GetNonWorkingDays();
 }
コード例 #2
0
 /// <summary>
 /// Gets all non working days.
 /// </summary>
 /// <returns></returns>
 internal List <NonWorkingDay> GetAllNonWorkingDays()
 {
     return(NonWorkingDayController.GetNonWorkingDays(DateTime.Parse("1/1/1900"), DateTime.Today, -1, -1, "NonWorkingDate", 1, 20));
 }