Exemplo n.º 1
0
        public void InitializedCalendar()
        {
            _calDates = _calendar.LoadCalendar(0);

            _config = new CalendarConfig()
            {
                InMonthDaysTextArgb          = new[] { 255, 0, 0, 0 },
                OutOfMonthDaysTextArgb       = new[] { 255, 100, 100, 100 },
                InMonthDaysBackgroundArgb    = new[] { 100, 152, 154, 158 },
                OutOfMonthDaysBackgroundArgb = new[] { 100, 91, 113, 165 },
                HighlightArgb = new[] { 175, 5, 75, 237 }
            };
            _mainWindow.SetConfiguration(_config);
            PushCalendarToView();
        }
Exemplo n.º 2
0
 public void SetConfiguration(ICalendarConfig calendarConfig)
 {
     _calendarConfig = calendarConfig;
 }