有段代码看不懂~ 求大神指导~

有段代码看不懂~ 求大神指点~~
 private void btnInfo()
        {  
            int x = 20; int y = 20;
            for (int i = 1; i <= counts; i++)
            {
                Button btn = new Button();
                btn.Size = new Size(60, 60);
                btn.Location = new Point(x, y);
                btn.Name = i.ToString();
                btn.Text = i + "." + "未回答";
                btn.Tag = i;
                x += 70;
                if (i % 5 == 0)
                {
                    x = 20;
                    y += 70;
                }
                btn.Click += new EventHandler(btn_Click);
                groupBox1.Controls.Add(btn);
            }
        }

        void btn_Click(object sender, EventArgs e)
        {
            Button btn = (Button)sender;
            index = Convert.ToInt32(btn.Tag) - 1;
            this.Close();
        }

        private void checkAnswer()
        {
            int i = 0;
            foreach (Control cn in groupBox1.Controls)
            {
                Button btn = (Button)cn;
                if (answer[i] != null)
                {
                    btn.Text = (i + 1) + "." + answer[i];
                }
                i++;
            }
        }

        private int chkAnswer()
        {
            int count = 100;
            for (int i = 0; i < counts; i++)
            {
                if (answer[i] != trueAnswer[i])
                {
                    count -= 5;
                }
            }
            return count;

        }

------解决方案--------------------
 x += 70;//x的单位加70,就是X点每个位置加70
                if (i % 5 == 0)  //如果个数被5整除,
                {