예제 #1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo cultureInfo)
        {
            DateTime  dateTime = (DateTime)value;
            FCalendar fcal     = (FCalendar)parameter;

            return(dateTime == fcal.SelectedFDay.DateTime);
        }
예제 #2
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo cultureInfo)
        {
            int       month = (int)value;
            FCalendar fcal  = (FCalendar)parameter;

            return(month == fcal.CurrentMonth);
        }
예제 #3
0
 public MainWindow()
 {
     InitializeComponent();
     fCalendar = (FCalendar)FindResource("fCalendar");
 }