Exemple #1
0
        private void Stroke(int x)
        {
            switch (x)
            {
            case 0:
                pictureBox1.Image = window.AccentuationConstruction(x);
                break;

            case 1:
                pictureBox2.Image = window.AccentuationConstruction(x);
                break;

            case 2:
                pictureBox3.Image = window.AccentuationConstruction(x);
                break;

            case 3:
                pictureBox4.Image = window.AccentuationConstruction(x);
                break;

            case 4:
                pictureBox5.Image = window.AccentuationConstruction(x);
                break;

            case 5:
                pictureBox6.Image = window.AccentuationConstruction(x);
                break;

            case 6:
                pictureBox7.Image = window.AccentuationConstruction(x);
                break;

            case 7:
                pictureBox8.Image = window.AccentuationConstruction(x);
                break;
            }
        }