Exemplo n.º 1
0
 private void pictureBox_MouseClick(object sender, MouseEventArgs e)
 {
     if (selectedDay != (sender as PictureBox).Tag)
     {
         this.SelectDay((CalendarModel.Day)(sender as PictureBox).Tag);
     }
     dayManager.Show(selectedDay);
 }
Exemplo n.º 2
0
 private void day_MouseClick(object sender, MouseEventArgs e)
 {
     this.SelectDay((CalendarModel.Day)(sender as Control).Tag);
     dayManager.Show(selectedDay);
 }
Exemplo n.º 3
0
 private void day_MouseClick(object sender, MouseEventArgs e)
 {
     this.SelectDay((model as DayModel).Day);
     dayManager.Show(selectedDay);
 }