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;
        }