コード例 #1
0
 public void AddDays(DayControl[][] weeks)
 {
     _weekControls.Clear();
     foreach (var days in weeks)
     {
         var week = new WeekControl(days);
         _weekControls.Add(week);
         pnData.Controls.Add(week);
         week.BringToFront();
     }
     HasData = true;
 }
コード例 #2
0
		public void AddDays(DayControl[][] weeks)
		{
			_weekControls.Clear();
			foreach (var days in weeks)
			{
				var week = new WeekControl(days);
				_weekControls.Add(week);
				pnData.Controls.Add(week);
				week.BringToFront();
			}
			HasData = true;
		}