Example #1
0
        private void OnTap(UITapGestureRecognizer tapRecg)
        {
            CGPoint loc = tapRecg.LocationInView(this);

            if (SelectDayView((PointF)loc) && calendarMonthView.OnDateSelected != null)
            {
                calendarMonthView.OnDateSelected(new DateTime(currentMonth.Year, currentMonth.Month,
                                                              (int)SelectedDayView.Tag));
            }
        }