Exemplo n.º 1
0
        public void TypeDuck(Label a, Label b, Label c, PictureBox pic)
        {
            IQuack quack;
            Ivolar ivolar;

            quack  = new Squeak();
            ivolar = new Nofly();
            Swim s = new Swim();

            a.Text = quack.TypeQuack();
            b.Text = ivolar.Comportamiento();
            c.Text = s.S();
            quack.Typesound();
            Duckphotos x = new Duckphotos();

            x.rubber(pic);
        }