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