Exemplo n.º 1
0
        public Neighborhood()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            preguntasRespuestas = new Dictionary <string, string>();
            usadas  = new List <int>();
            mensaje = new Mensaje();
            sonidos = new controlSonidos();

            preguntasRespuestas.Add("Where is the park?", "Between the fire station and the bakery.");
            preguntasRespuestas.Add("Where is the restaurant?", "Behind the supermarket.");
            preguntasRespuestas.Add("Where is the school?", "Next to the hardware store.");
            preguntasRespuestas.Add("Where is the gas station?", "Across from the school.");
            preguntasRespuestas.Add("Where is the supermarket?", "On the corner of Main street and Apple street.");
            preguntasRespuestas.Add("Where is the pet shop?", "In front of the bus stop.");
            preguntasRespuestas.Add("Where is the bus stop?", "Behind the pet shop.");
            preguntasRespuestas.Add("Where is the police station?", "Far from the gym.");
            preguntasRespuestas.Add("Where is the book store?", "Near to the park.");
            preguntasRespuestas.Add("Where is the hospital?", "Next to the drug store.");

            contador = 0;
            o1.Text  = "";
            o2.Text  = "";

            mostrarPregunta();
        }
Exemplo n.º 2
0
        public funcionesOrganos()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            parejas = new Dictionary <String, string>();
            sonidos = new Dictionary <string, SoundPlayer>();
            parejas.Add("4", "It finishes the process of digesting food.\nIt absorbs water and salts.");
            parejas.Add("6", "It allows you to breathe.\nIt helps you to inhale and \nexhale the air.");
            parejas.Add("3", "It cleans your blood.\nIt produces an important digestive liquid called bile.\nIt stores energy in the form of a sugar called glycogen.");
            parejas.Add("1", "It is the boss of your body.\nIt controls everything you do, \neven when you are asleep.");
            parejas.Add("7", "It stores the food you eat. \n" +
                        "It breaks down the food into a liquid mixture to slowly \nempty that liquid mixture into the small intestine.");
            parejas.Add("2", "It sends blood around your body.\nThe blood provides the oxygen and nutrients it needs.\nIt also carries away waste. ");
            parejas.Add("5", "It filters waste out of your blood.");

            sonidos.Add("1", new SoundPlayer(Properties.Resources.itistheboss_audio));
            sonidos.Add("2", new SoundPlayer(Properties.Resources.itsends_audio));
            sonidos.Add("3", new SoundPlayer(Properties.Resources.itcleans_audio));
            sonidos.Add("4", new SoundPlayer(Properties.Resources.itfinishes_audio));
            sonidos.Add("5", new SoundPlayer(Properties.Resources.itfilters_audio));
            sonidos.Add("6", new SoundPlayer(Properties.Resources.itallowsyou_audio));
            sonidos.Add("7", new SoundPlayer(Properties.Resources.itstores_audio));

            fallos         = 0;
            contador       = 0;
            mensaje        = new Mensaje();
            sonido         = new controlSonidos();
            iParejasUsadas = new List <int>();

            label1.Text = ".  .   .   .";
        }
Exemplo n.º 3
0
        public Diseases2()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            sonidos             = new controlSonidos();
            enfermedades        = new Dictionary <int, string>();
            enfermedades_audios = new Dictionary <int, SoundPlayer>();
            enfermedades.Add(0, "Fever");
            enfermedades.Add(1, "Toothache");
            enfermedades.Add(2, "Cough");
            enfermedades.Add(3, "Chiken pox");
            enfermedades.Add(4, "Stomachache");
            enfermedades.Add(5, "Sore throat");
            enfermedades.Add(6, "Sunburn");
            enfermedades.Add(7, "Headache");
            enfermedades.Add(8, "Backache");
            enfermedades.Add(9, "Bloody nose");
            enfermedades.Add(10, "Broken arm");
            enfermedades.Add(11, "Bruise");
            enfermedades.Add(12, "Cut");
            enfermedades.Add(13, "Insect bite");

            enfermedades_audios.Add(0, new SoundPlayer(Properties.Resources.fever_audio));
            enfermedades_audios.Add(1, new SoundPlayer(Properties.Resources.toothache_audio));
            enfermedades_audios.Add(2, new SoundPlayer(Properties.Resources.cough_audio));
            enfermedades_audios.Add(3, new SoundPlayer(Properties.Resources.chickenpox_audio));
            enfermedades_audios.Add(4, new SoundPlayer(Properties.Resources.stomachache_audio));
            enfermedades_audios.Add(5, new SoundPlayer(Properties.Resources.sorethroat_audio));
            enfermedades_audios.Add(6, new SoundPlayer(Properties.Resources.sunburn_audio));
            enfermedades_audios.Add(7, new SoundPlayer(Properties.Resources.headache_audio));
            enfermedades_audios.Add(8, new SoundPlayer(Properties.Resources.backache_audio));
            enfermedades_audios.Add(9, new SoundPlayer(Properties.Resources.bloodynose_audio));
            enfermedades_audios.Add(10, new SoundPlayer(Properties.Resources.brokenarm_audio));
            enfermedades_audios.Add(11, new SoundPlayer(Properties.Resources.bruise_audio));
            enfermedades_audios.Add(12, new SoundPlayer(Properties.Resources.cut_audio));
            enfermedades_audios.Add(13, new SoundPlayer(Properties.Resources.insectbite_audio));

            recomendaciones = new Dictionary <string, string>();
            recomendaciones.Add("Cough", "Take cough syrup.");
            recomendaciones.Add("Toothache", "Go to the dentist.");
            recomendaciones.Add("Sore throat", "Drink lemon tea.");
            recomendaciones.Add("Chiken pox", "Go to the doctor.");
            recomendaciones.Add("Stomachache", "Do not eat junk food.");
            recomendaciones.Add("Sunburn", "Keep your skin hydrated.");
            recomendaciones.Add("Fever", "Take a pill.");
            recomendaciones.Add("Headache", "Take a rest.");

            play   = false;
            fallos = 0;
            contadorRecomendaciones = 0;
            usadas  = new List <int>();
            mensaje = new Mensaje();
        }
Exemplo n.º 4
0
        public Diseases()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            enfermedades        = new Dictionary <int, string>();
            enfermedades_audios = new Dictionary <int, SoundPlayer>();
            sonidos             = new controlSonidos();
            keysUsadas          = new List <int>();
            botones             = new List <Button>();
            contador            = 0;
            fallos  = 0;
            mensaje = new Mensaje();
            botones.Add(o1);
            botones.Add(o2);
            botones.Add(o3);
            botones.Add(o4);

            enfermedades.Add(0, "Fever");
            enfermedades.Add(1, "Toothache");
            enfermedades.Add(2, "Cough");
            enfermedades.Add(3, "Chicken pox");
            enfermedades.Add(4, "Stomachache");
            enfermedades.Add(5, "Sore throat");
            enfermedades.Add(6, "Sunburn");
            enfermedades.Add(7, "Headache");
            enfermedades.Add(8, "Backache");
            enfermedades.Add(9, "Bloody nose");
            enfermedades.Add(10, "Broken arm");
            enfermedades.Add(11, "Bruise");
            enfermedades.Add(12, "Cut");
            enfermedades.Add(13, "Insect bite");

            enfermedades_audios.Add(0, new SoundPlayer(Properties.Resources.fever_audio));
            enfermedades_audios.Add(1, new SoundPlayer(Properties.Resources.toothache_audio));
            enfermedades_audios.Add(2, new SoundPlayer(Properties.Resources.cough_audio));
            enfermedades_audios.Add(3, new SoundPlayer(Properties.Resources.chickenpox_audio));
            enfermedades_audios.Add(4, new SoundPlayer(Properties.Resources.stomachache_audio));
            enfermedades_audios.Add(5, new SoundPlayer(Properties.Resources.sorethroat_audio));
            enfermedades_audios.Add(6, new SoundPlayer(Properties.Resources.sunburn_audio));
            enfermedades_audios.Add(7, new SoundPlayer(Properties.Resources.headache_audio));
            enfermedades_audios.Add(8, new SoundPlayer(Properties.Resources.backache_audio));
            enfermedades_audios.Add(9, new SoundPlayer(Properties.Resources.bloodynose_audio));
            enfermedades_audios.Add(10, new SoundPlayer(Properties.Resources.brokenarm_audio));
            enfermedades_audios.Add(11, new SoundPlayer(Properties.Resources.bruise_audio));
            enfermedades_audios.Add(12, new SoundPlayer(Properties.Resources.cut_audio));
            enfermedades_audios.Add(13, new SoundPlayer(Properties.Resources.insectbite_audio));
        }
Exemplo n.º 5
0
        public socializingOrdenar()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            ypanel    = panel1.Location.Y;
            panelSize = panel1.Size.Height;

            xlabel = label1.Location.X;  // incremento de 150
            ylabel = label1.Location.Y;  //incrmento 60

            labels       = new List <Label>();
            frases       = new List <string>();
            frasesUsadas = new List <int>();
            sonidos      = new controlSonidos();

            labels.Add(label1);
            labels.Add(label2);
            labels.Add(label3);
            labels.Add(label4);
            labels.Add(label5);
            labels.Add(label6);
            labels.Add(label7);
            labels.Add(label8);
            labels.Add(label9);
            labels.Add(label10);

            //importante el espacio al final
            frases.Add("Hi Gina, how is it going? ");
            frases.Add("Hello Ms Jonhson, how are you? ");
            frases.Add("Nice to meet you ");
            frases.Add("Nice to meet you too ");
            frases.Add("Bye, see you later ");
            frases.Add("Hi there, this is my fiend Luke ");
            frases.Add("Hi, my name is Elizabeth ");
            frases.Add("What's his name? ");
            frases.Add("Hello, i'm Joe ");
            frases.Add("Hello, how are you? ");

            intentos = 0;
            fallos   = 0;
            mensaje  = new Mensaje();

            foreach (Label l in labels)
            {
                l.Text = "     ";
            }
        }
Exemplo n.º 6
0
        public Classroom()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            sonidos          = new Dictionary <int, SoundPlayer>();
            usados           = new List <int>();
            parejas          = new Dictionary <int, Image>();
            palabras         = new Dictionary <int, String>();
            sonidosAsignados = new List <int>(); //sonidos sonidosAsignados
            mensaje          = new Mensaje();
            csonidos         = new controlSonidos();
            pared            = 0;
            contador         = 0;
            rondas           = 1;
            mensaje          = new Mensaje();
            labelAnswer.Text = " ";

            //se declaran todos los sonidos
            SoundPlayer books        = new SoundPlayer(Properties.Resources.books_audio);
            SoundPlayer redbook      = new SoundPlayer(Properties.Resources.red_book_audio);
            SoundPlayer colorpencils = new SoundPlayer(Properties.Resources.color_pencils_audio);
            SoundPlayer eraser       = new SoundPlayer(Properties.Resources.eraser_audio);
            SoundPlayer scissors     = new SoundPlayer(Properties.Resources.scissors_audio);
            SoundPlayer sharpener    = new SoundPlayer(Properties.Resources.sharpener_audio);
            SoundPlayer pencil       = new SoundPlayer(Properties.Resources.pencil_audio);
            SoundPlayer glue         = new SoundPlayer(Properties.Resources.glue_audio);
            // SoundPlayer = new SoundPlayer(Properties.Resources.);

            // se declaran todas las imagenes
            Bitmap ipencil       = (Bitmap)Properties.Resources.pencil;
            Bitmap ibooks        = (Bitmap)Properties.Resources.books;
            Bitmap iredbook      = (Bitmap)Properties.Resources.redbook;
            Bitmap icolorpencils = (Bitmap)Properties.Resources.colorpencils;
            Bitmap ieraser       = (Bitmap)Properties.Resources.eraser;
            Bitmap ibluescissors = (Bitmap)Properties.Resources.blue_scissors_;
            Bitmap isharpener    = (Bitmap)Properties.Resources.sharpener;
            Bitmap iglue         = (Bitmap)Properties.Resources.glue;

            //por imagenes , palabras y sonidos tienen el mismo numero
            //se asignan numeros a las palabras

            palabras.Add(0, "Books");
            palabras.Add(1, "Red Book");
            palabras.Add(2, "Color pencils");
            palabras.Add(3, "Scissors");
            palabras.Add(4, "Sherpener");
            palabras.Add(5, "Pencil");
            palabras.Add(6, "Glue");
            palabras.Add(7, "Eraser");

            //se asignan numeros a los audios
            sonidos.Add(0, books);
            sonidos.Add(1, redbook);
            sonidos.Add(2, colorpencils);
            sonidos.Add(3, scissors);
            sonidos.Add(4, sharpener);
            sonidos.Add(5, pencil);
            sonidos.Add(6, glue);
            sonidos.Add(7, eraser);

            //se asignan las parejas
            //numero de sonido , imagen
            parejas.Add(0, ibooks);
            parejas.Add(1, iredbook);
            parejas.Add(2, icolorpencils);
            parejas.Add(3, ibluescissors);
            parejas.Add(4, isharpener);
            parejas.Add(5, ipencil);
            parejas.Add(6, iglue);
            parejas.Add(7, ieraser);

            asignar();
        }
Exemplo n.º 7
0
        public EscogerSaludos()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            fallos   = 0;
            contador = 0;
            play     = false;
            sonidos  = new controlSonidos();


            timeGreetings      = new List <string>();
            formalGreetings    = new List <string>();
            informalGreetings  = new List <string>();
            rformalGreetings   = new List <string>();
            rinformalGreetings = new List <string>();
            byeGreetings       = new List <string>();
            frasesYsonidos     = new Dictionary <string, SoundPlayer>();
            respuestas         = new Dictionary <int, List <String> >();
            mensaje            = new Mensaje();

            timeGreetings.Add("Good Afternoon");
            timeGreetings.Add("Good Morning");
            timeGreetings.Add("Good Night");
            timeGreetings.Add("Good Evening");
            formalGreetings.Add("Hello, how are you?");
            formalGreetings.Add("Hello! Ms Richards/Mr Richards");
            rformalGreetings.Add("Fine thank you. And you?");
            rformalGreetings.Add("Very well, thank you. And you?");
            informalGreetings.Add("Hi, how are you?");
            informalGreetings.Add("Hi, how is it going?");
            informalGreetings.Add("Hey , what's new?");
            informalGreetings.Add("Hi there, What's up?");
            rinformalGreetings.Add("Hi, I am good. How are you?");
            rinformalGreetings.Add("Hi! , great. And you?");
            rinformalGreetings.Add("I am doing all right. And you?");
            byeGreetings.Add("Bye");
            byeGreetings.Add("See you later");

            frasesYsonidos.Add("Good Afternoon", new SoundPlayer(Properties.Resources.goodafternoon));
            frasesYsonidos.Add("Good Morning", new SoundPlayer(Properties.Resources.goodmorning));
            frasesYsonidos.Add("Good Night", new SoundPlayer(Properties.Resources.goodnight));
            frasesYsonidos.Add("Good Evening", new SoundPlayer(Properties.Resources.goodevening));
            frasesYsonidos.Add("Hello, how are you?", new SoundPlayer(Properties.Resources.Hello_howareyou));
            frasesYsonidos.Add("Hello! Ms Richards/Mr Richards", new SoundPlayer(Properties.Resources.hello));
            frasesYsonidos.Add("Fine thank you. And you?", new SoundPlayer(Properties.Resources.finethankyouandyou));
            frasesYsonidos.Add("Very well, thank you. And you?", new SoundPlayer(Properties.Resources.vwerywell_thankyou));
            frasesYsonidos.Add("Hi, how are you?", new SoundPlayer(Properties.Resources.hihowareyou));
            frasesYsonidos.Add("Hi, how is it going?", new SoundPlayer(Properties.Resources.hi_howisitgoing));
            frasesYsonidos.Add("Hey , what's new?", new SoundPlayer(Properties.Resources.heywhatsnew));
            frasesYsonidos.Add("Hi there, What's up?", new SoundPlayer(Properties.Resources.Hitherewhatsup));
            frasesYsonidos.Add("Hi, I am good.How are you? ", new SoundPlayer(Properties.Resources.hiimgooghowareyou));
            frasesYsonidos.Add("Hi! , great. And you?", new SoundPlayer(Properties.Resources.higreatandyou));
            frasesYsonidos.Add("I am doing all right. And you?", new SoundPlayer(Properties.Resources.imdoingallrightandyou));
            frasesYsonidos.Add("Bye", new SoundPlayer(Properties.Resources.bye));
            frasesYsonidos.Add("See you later", new SoundPlayer(Properties.Resources.seeyoulater));



            respuestas.Add(0, timeGreetings);
            respuestas.Add(1, timeGreetings);
            respuestas.Add(2, timeGreetings);
            respuestas.Add(3, timeGreetings);
            respuestas.Add(4, timeGreetings);
            respuestas.Add(5, formalGreetings);
            respuestas.Add(6, formalGreetings);
            respuestas.Add(7, formalGreetings);
            respuestas.Add(8, formalGreetings);
            respuestas.Add(9, formalGreetings);
            respuestas.Add(10, informalGreetings);
            respuestas.Add(11, informalGreetings);
            respuestas.Add(12, informalGreetings);
            respuestas.Add(13, informalGreetings);
            respuestas.Add(14, rinformalGreetings);
            respuestas.Add(15, rformalGreetings);
            respuestas.Add(16, rinformalGreetings);
            respuestas.Add(17, rinformalGreetings);
            respuestas.Add(18, byeGreetings);
            respuestas.Add(19, byeGreetings);
        }
Exemplo n.º 8
0
        public AnimalsQuestions()
        {
            InitializeComponent();
            used             = new List <int>();
            sounds           = new controlSonidos();
            farmAnimals      = new Dictionary <int, Image>();
            petsAnimals      = new Dictionary <int, Image>();
            forestAnimals    = new Dictionary <int, Image>();
            articAnimals     = new Dictionary <int, Image>();
            savannahAnimals  = new Dictionary <int, Image>();
            habitats         = new Dictionary <int, Image>();
            sonidos          = new Dictionary <int, SoundPlayer>();
            words            = new Dictionary <int, string>();
            habitat          = 1;
            questionsCounter = 1;
            r = new Random();

            farmAnimals.Add(1, Properties.Resources.farm);
            farmAnimals.Add(2, Properties.Resources.cowO);
            farmAnimals.Add(3, Properties.Resources.horseO);
            farmAnimals.Add(4, Properties.Resources.pigO);
            farmAnimals.Add(5, Properties.Resources.duckO);
            farmAnimals.Add(6, Properties.Resources.chickenO);
            farmAnimals.Add(7, Properties.Resources.gooseO);
            farmAnimals.Add(8, Properties.Resources.sheepO);
            petsAnimals.Add(9, Properties.Resources.pets);
            petsAnimals.Add(10, Properties.Resources.dogO);
            petsAnimals.Add(11, Properties.Resources.catO);
            petsAnimals.Add(12, Properties.Resources.tortoiseO);
            petsAnimals.Add(13, Properties.Resources.hamsterO);
            petsAnimals.Add(14, Properties.Resources.rabbitO);
            forestAnimals.Add(15, Properties.Resources.Forest);
            forestAnimals.Add(16, Properties.Resources.wolfO);
            forestAnimals.Add(17, Properties.Resources.tigerO);
            forestAnimals.Add(18, Properties.Resources.bearO);
            forestAnimals.Add(19, Properties.Resources.monkeyO);
            forestAnimals.Add(20, Properties.Resources.deerO);
            forestAnimals.Add(21, Properties.Resources.snakeO);
            savannahAnimals.Add(22, Properties.Resources.savannah);
            savannahAnimals.Add(23, Properties.Resources.lionO);
            savannahAnimals.Add(24, Properties.Resources.zebraO);
            savannahAnimals.Add(25, Properties.Resources.hippoO);
            savannahAnimals.Add(26, Properties.Resources.rhinoO);
            savannahAnimals.Add(27, Properties.Resources.elephantO);
            savannahAnimals.Add(28, Properties.Resources.giraffeO);
            savannahAnimals.Add(29, Properties.Resources.crocodileO);


            sonidos.Add(1, new SoundPlayer(Properties.Resources.farmaudio));
            sonidos.Add(2, new SoundPlayer(Properties.Resources.cowaudio));
            sonidos.Add(3, new SoundPlayer(Properties.Resources.horseaudio));
            sonidos.Add(4, new SoundPlayer(Properties.Resources.pigaudio));
            sonidos.Add(5, new SoundPlayer(Properties.Resources.duckaudio));
            sonidos.Add(6, new SoundPlayer(Properties.Resources.chickenaudio));
            sonidos.Add(7, new SoundPlayer(Properties.Resources.gooseaudio));
            sonidos.Add(8, new SoundPlayer(Properties.Resources.sheepaudio));
            sonidos.Add(9, new SoundPlayer(Properties.Resources.petsaudio));
            sonidos.Add(10, new SoundPlayer(Properties.Resources.dogaudio));
            sonidos.Add(11, new SoundPlayer(Properties.Resources.cataudio));
            sonidos.Add(12, new SoundPlayer(Properties.Resources.tortoiseaudio));
            sonidos.Add(13, new SoundPlayer(Properties.Resources.hamsteraudio));
            sonidos.Add(14, new SoundPlayer(Properties.Resources.rabbitaudio));
            sonidos.Add(15, new SoundPlayer(Properties.Resources.forestaudio));
            sonidos.Add(16, new SoundPlayer(Properties.Resources.wolfaudio));
            sonidos.Add(17, new SoundPlayer(Properties.Resources.tigeraudio));
            sonidos.Add(18, new SoundPlayer(Properties.Resources.bearaudio));
            sonidos.Add(19, new SoundPlayer(Properties.Resources.monkeyaudio));
            sonidos.Add(20, new SoundPlayer(Properties.Resources.deeraudio));
            sonidos.Add(21, new SoundPlayer(Properties.Resources.snakeaudio));
            sonidos.Add(22, new SoundPlayer(Properties.Resources.savannahaudio));
            sonidos.Add(23, new SoundPlayer(Properties.Resources.lionaudio));
            sonidos.Add(24, new SoundPlayer(Properties.Resources.zebraaudio));
            sonidos.Add(25, new SoundPlayer(Properties.Resources.hippoaudio));
            sonidos.Add(26, new SoundPlayer(Properties.Resources.rhinoaudio));
            sonidos.Add(27, new SoundPlayer(Properties.Resources.elephantaudio));
            sonidos.Add(28, new SoundPlayer(Properties.Resources.giraffeaudio));
            sonidos.Add(29, new SoundPlayer(Properties.Resources.crocodileaudio));

            words.Add(1, "farm");
            words.Add(2, "cow");
            words.Add(3, "horse");
            words.Add(4, "pig");
            words.Add(5, "duck");
            words.Add(6, "chicken");
            words.Add(7, "goose");
            words.Add(8, "sheep");
            words.Add(9, "pets");
            words.Add(10, "dog");
            words.Add(11, "cat");
            words.Add(12, "tortoise");
            words.Add(13, "hamster");
            words.Add(14, "rabbit");
            words.Add(15, "forest");
            words.Add(16, "wolf");
            words.Add(17, "tiger");
            words.Add(18, "bear");
            words.Add(19, "monkey");
            words.Add(20, "deer");
            words.Add(21, "snake");
            words.Add(22, "savannah");
            words.Add(23, "lion");
            words.Add(24, "zebra");
            words.Add(25, "hippo");
            words.Add(26, "rhino");
            words.Add(27, "elephant");
            words.Add(28, "giraffe");
            words.Add(29, "crocodile");

            labelQuestion.Text        = "This is a __________________.";
            pictureBoxRespuesta.Image = null;
            pictureBox1.Image         = null;
            button1Answer.Text        = "  __  ";
            button2Answer.Text        = "  __  ";
            labelQuestion.Text        = "";
            mostrar();
        }
Exemplo n.º 9
0
        public classroom2()
        {
            WindowState = FormWindowState.Maximized;
            InitializeComponent();
            boxActual        = 0;
            rondas           = 1;
            imagenesYsonidos = new Dictionary <Bitmap, SoundPlayer>(); // de objetos
            imagenesUsadas   = new List <Bitmap>();
            imagenesObjetos  = new List <Bitmap>();
            parejas          = new Dictionary <PictureBox, SoundPlayer>();
            iAsignadas       = new List <int>();
            sAsignados       = new SortedList <int, SoundPlayer>();
            pboxList         = new List <PictureBox>();
            ordenpBox        = new List <int>();
            palabras         = new Dictionary <Bitmap, string>();
            mensaje          = new Mensaje();
            sonidos          = new controlSonidos();
            labelAnswer.Text = " ";

            Bitmap bs           = (Bitmap)Properties.Resources.blue_scissors_;
            Bitmap book         = (Bitmap)Properties.Resources.Book;
            Bitmap books        = (Bitmap)Properties.Resources.books;
            Bitmap pencil       = (Bitmap)Properties.Resources.pencil;
            Bitmap redbook      = (Bitmap)Properties.Resources.redbook;
            Bitmap glue         = (Bitmap)Properties.Resources.glue;
            Bitmap eraser       = (Bitmap)Properties.Resources.eraser;
            Bitmap sharp        = (Bitmap)Properties.Resources.sharpener;
            Bitmap colorpencils = (Bitmap)Properties.Resources.colorpencils;
            Bitmap backpack     = (Bitmap)Properties.Resources.backpack;
            Bitmap notebook     = (Bitmap)Properties.Resources.yellow_notebook;
            Bitmap pen          = (Bitmap)Properties.Resources.pen_silver;
            Bitmap rule         = (Bitmap)Properties.Resources.rule;
            Bitmap crayons      = (Bitmap)Properties.Resources.clipart_crayons_1862;

            pboxList.Add(pictureBoxon);
            pboxList.Add(pictureBoxondesk);
            pboxList.Add(pictureBoxnextto);
            pboxList.Add(pictureBoxbetween);
            pboxList.Add(pictureBoxinfrontofb);
            pboxList.Add(pictureBoxunder);
            pboxList.Add(pictureBbehind);



            imagenesObjetos.Add(bs);
            imagenesObjetos.Add(book);
            imagenesObjetos.Add(books);
            imagenesObjetos.Add(pencil);
            imagenesObjetos.Add(redbook);
            imagenesObjetos.Add(glue);
            imagenesObjetos.Add(eraser);
            imagenesObjetos.Add(sharp);
            imagenesObjetos.Add(colorpencils);
            imagenesObjetos.Add(backpack);
            imagenesObjetos.Add(pen);
            imagenesObjetos.Add(notebook);
            imagenesObjetos.Add(rule);
            imagenesObjetos.Add(crayons);

            SoundPlayer onthedeskaudio    = new SoundPlayer(Properties.Resources.on_the_desk_audio);
            SoundPlayer onthetableaudio   = new SoundPlayer(Properties.Resources.on_the_table_audio);
            SoundPlayer nexttoaudio       = new SoundPlayer(Properties.Resources.next_to_the_desk_audio);
            SoundPlayer betweenaudio      = new SoundPlayer(Properties.Resources.between_the_b_and_t_audio);
            SoundPlayer behindaudio       = new SoundPlayer(Properties.Resources.behind_the_chair_audio);
            SoundPlayer infrontofaudio    = new SoundPlayer(Properties.Resources.in_front_of_the_board_audio);
            SoundPlayer underaudio        = new SoundPlayer(Properties.Resources.under_the_table);
            SoundPlayer booksaudio        = new SoundPlayer(Properties.Resources.books_audio);
            SoundPlayer redbookaudio      = new SoundPlayer(Properties.Resources.red_book_audio);
            SoundPlayer colorpencilsaudio = new SoundPlayer(Properties.Resources.color_pencils_audio);
            SoundPlayer eraseraudio       = new SoundPlayer(Properties.Resources.eraser_audio);
            SoundPlayer scissorsaudio     = new SoundPlayer(Properties.Resources.scissors_audio);
            SoundPlayer sharpeneraudio    = new SoundPlayer(Properties.Resources.sharpener_audio);
            SoundPlayer pencilaudio       = new SoundPlayer(Properties.Resources.pencil_audio);
            SoundPlayer glueaudio         = new SoundPlayer(Properties.Resources.glue_audio);
            SoundPlayer bacpackaudio      = new SoundPlayer(Properties.Resources.backpack_audio);
            SoundPlayer penaudio          = new SoundPlayer(Properties.Resources.pen_audio);
            SoundPlayer notebookaudio     = new SoundPlayer(Properties.Resources.notebook_audio);
            SoundPlayer bookaudio         = new SoundPlayer(Properties.Resources.book_audio);
            SoundPlayer ruleaudio         = new SoundPlayer(Properties.Resources.rule_audio);
            SoundPlayer crayonsaudio      = new SoundPlayer(Properties.Resources.crayons_audio);


            //preposiciones

            parejas.Add(pictureBoxon, onthetableaudio);
            parejas.Add(pictureBoxondesk, onthedeskaudio);
            parejas.Add(pictureBoxnextto, nexttoaudio);
            parejas.Add(pictureBoxbetween, betweenaudio);
            parejas.Add(pictureBbehind, behindaudio);
            parejas.Add(pictureBoxunder, underaudio);
            parejas.Add(pictureBoxinfrontofb, infrontofaudio);

            imagenesYsonidos.Add(books, booksaudio);
            imagenesYsonidos.Add(bs, scissorsaudio);
            imagenesYsonidos.Add(book, bookaudio);
            imagenesYsonidos.Add(pencil, pencilaudio);
            imagenesYsonidos.Add(redbook, redbookaudio);
            imagenesYsonidos.Add(glue, glueaudio);
            imagenesYsonidos.Add(eraser, eraseraudio);
            imagenesYsonidos.Add(sharp, sharpeneraudio);
            imagenesYsonidos.Add(colorpencils, colorpencilsaudio);
            imagenesYsonidos.Add(backpack, bacpackaudio);
            imagenesYsonidos.Add(pen, penaudio);
            imagenesYsonidos.Add(notebook, notebookaudio);
            imagenesYsonidos.Add(rule, ruleaudio);
            imagenesYsonidos.Add(crayons, crayonsaudio);

            palabras.Add(books, "Books");
            palabras.Add(bs, "Scissors");
            palabras.Add(book, "Book");
            palabras.Add(pencil, "Pencil");
            palabras.Add(redbook, "Red book");
            palabras.Add(glue, "Glue");
            palabras.Add(eraser, "Eraser");
            palabras.Add(sharp, "Sharpener");
            palabras.Add(colorpencils, "Color pencils");
            palabras.Add(backpack, "Backpack");
            palabras.Add(pen, "Pen");
            palabras.Add(notebook, "Notebook");
            palabras.Add(rule, "Rule");
            palabras.Add(crayons, "Crayons");


            asignar();
        }