public DaysPage(DaysContainer container)
        {
            InitializeComponent();

            this.Container            = container;
            this.dataGrid.ItemsSource = LcvDayStrings;
        }
Пример #2
0
        private void SetDays()
        {
            if (PersonMessages?.Messages == null)
            {
                throw new ArgumentNullException(nameof(PersonMessages));
            }

            DaysWhenUserWrittenSomething = new DaysContainer(PersonMessages.Messages);
            MostActiveDate = DaysWhenUserWrittenSomething.DayWithMaxNumberOfMessages;
        }