Exemplo n.º 1
0
        /// <summary>
        /// go to date
        /// </summary>
        /// <param name="date"></param>
        /// <param name="viewType"></param>
        public void GoToDate(DateTime date, SchedulerViewType viewType)
        {
            DateTime          old         = _control.SelectedInterval.Start;
            SchedulerViewType oldViewType = _control.ActiveViewType;

            _innerNavigate.GoToDate(date, viewType);
            UndoService.AddGotoDateAction(_innerNavigate, _control.SelectedInterval.Start, old, viewType, oldViewType);
        }