protected virtual void CreateDayView() { dayView = new FADayView { Visible = false, Name = "DayView" }; dayView.SelectedDateTimeChanged += (sender, e) => SelectedDateTime = dayView.SelectedDateTime; dayView.ViewDateTimeChanged += (sender, e) => ViewDateTime = dayView.ViewDateTime; dayView.Click += (sender, e) => ShowMonthView(); Controls.Add(dayView); }