Пример #1
0
 private void CreateAnswersLabels()
 {
     _answers = new Label[MAX_ANSWERS];
     for (int i = 0; i < MAX_ANSWERS; i++)
     {
         _answers[i]           = new AnswerLabel(i);
         _answers[i].Dock      = DockStyle.Fill;
         _answers[i].TextAlign = ContentAlignment.MiddleCenter;
         _answers[i].Font      = new Font("Tahoma", 12);
         _answers[i].SendToBack();
         _answers[i].MouseClick += new System.Windows.Forms.MouseEventHandler(this.AnswerLabelMouseClick);
     }
 }