ComponentFactory.Krypton.Toolkit.KryptonContextMenuMonthCalendar.SetFocusDay C# (CSharp) Method

SetFocusDay() private method

private SetFocusDay ( ) : void
return void
        private void SetFocusDay()
        {
            if (_focusDay == null)
                _focusDay = SelectionStart.Date;
            else
            {
                if (_focusDay.Value < SelectionStart)
                    _focusDay = SelectionStart.Date;
                else if (_focusDay.Value > SelectionStart)
                    _focusDay = SelectionEnd.Date;
            }
        }