Пример #1
0
 private void Item_OnDaySelected(object sender, DaySelectedEventArgs e)
 {
     if (OnDaySelected != null)
     {
         OnDaySelected(this, e);
     }
 }
Пример #2
0
 private void tableLayoutPanel1_MouseClick(object sender, MouseEventArgs e)
 {
     if (OnDaySelected != null)
     {
         DaySelectedEventArgs args = new DaySelectedEventArgs(_day);
         OnDaySelected(this, args);
     }
 }
Пример #3
0
 private void DaySelected(Day day)
 {
     if (OnDaySelected != null)
     {
         DaySelectedEventArgs args = new DaySelectedEventArgs(day);
         OnDaySelected(this, args);
     }
 }
Пример #4
0
 private void Panel_OnDaySelected(object sender, DaySelectedEventArgs e)
 {
     MessageBox.Show($"From Main {e.SelectedDay.Date.ToShortDateString()}");
 }