private CompetitionPage InitCompetitionPage(IList <QuestionBook> books)
        {
            var competition = new Competition()
            {
                Participants = new List <CompetitionParticipant>(),
                Answers      = new List <CompetitionAnswer>()
            };
            var page = new CompetitionPage(books);

            page.QuestionBookSelected += book =>
            {
                if (competition.Participants.Count > 0)
                {
                    competition.QuestionBook = book;
                    OnCompetitionReady(competition);
                }

                //MessageBox.Show(this, $"{book.Name}被选择!", "提示");
            };
            page.ParticipantJoin += no =>
            {
                var participant = competition.Participants.FirstOrDefault(t => t.No == no);
                if (participant == null)
                {
                    competition.Participants.Add(new CompetitionParticipant()
                    {
                        Id = Guid.NewGuid(),
                        No = no,
                    });
                }
            };
            page.OnParticipantKeyDown(this, new ParticipantKey()
            {
                AnswerNo = 1, ParticipantNo = 1
            });
            return(page);
        }