Пример #1
0
        private async void RefreshMessages()
        {
            GroupDiscussionLog.Items.Clear();

            theStudyGroup.GroupDiscussionBoard.History = await dbm.GetMessages(dbm.SGKEY(theStudyGroup.StudyGroupName, theStudyGroup.CourseName, theStudyGroup.CourseSemester, theStudyGroup.Year));

            foreach (String message in theStudyGroup.GroupDiscussionBoard.GetListOfMessages())
            {
                GroupDiscussionLog.Items.Add(message);
            }
        }