private void btnTimeLine_Click(object sender, EventArgs e)
        {
            //tablaTimeline
            foreach (DataGridViewRow item in tablaTimeline.Rows)
            {
                itemEst = new ItemsEstudio(
                    int.Parse(item.Cells["Numero"].Value.ToString()),
                    item.Cells["Nombre"].Value.ToString(),
                    item.Cells["Tipo"].Value.ToString()
                    );

                Console.WriteLine(item.Cells["Nombre"].Value.ToString());
                listaItemsEstudioA.Add(itemEst);
            }
            estudio = new Estudio(assets.ProjectName, assets.folderName, assets.txtNeutral.Text, listaItemsEstudioA);
            assets.mySerializer.Serialize(estudio, assets.folderName + "\\" + assets.ProjectName + ".xml");
            Console.WriteLine("Llamando Excel----" + assets.folderName, assets.ProjectName + "-Results");
            ExcelManipulator.createOAExcel(assets.folderName, assets.ProjectName + "-Results");
            DialogResult dialogResult = MessageBox.Show("Desea aplicar el estudio ahora mismo?", "Continuar", MessageBoxButtons.YesNo);

            if (dialogResult == DialogResult.Yes)
            {
                //do something
                StartEstudio estudioSiguiente = new StartEstudio(assets.folderName + "\\" + assets.ProjectName + ".xml");
                estudioSiguiente.Show();
                this.Dispose();
                assets.Dispose();
            }
            else if (dialogResult == DialogResult.No)
            {
                Application.Exit();
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "XML Files (xml)|*.xml";
            DialogResult result = openFileDialog1.ShowDialog(); // Show the dialog.
            if (result == DialogResult.OK) // Test result.
            {
                string file = openFileDialog1.FileName;

                StartEstudio estudio = new StartEstudio(file);
                estudio.Show();
                this.Hide();
            }

            /*
            ImagenNeutral neutral = new ImagenNeutral();
            this.Hide();
            neutral.Show();
             */
        }
        private void button2_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "XML Files (xml)|*.xml";
            DialogResult result = openFileDialog1.ShowDialog(); // Show the dialog.

            if (result == DialogResult.OK)                      // Test result.
            {
                string file = openFileDialog1.FileName;

                StartEstudio estudio = new StartEstudio(file);
                estudio.Show();
                this.Hide();
            }



            /*
             * ImagenNeutral neutral = new ImagenNeutral();
             * this.Hide();
             * neutral.Show();
             */
        }
        private void btnTimeLine_Click(object sender, EventArgs e)
        {
            //tablaTimeline
            foreach (DataGridViewRow item in tablaTimeline.Rows)
                    {
                        itemEst = new ItemsEstudio(
                                int.Parse(item.Cells["Numero"].Value.ToString()),
                                item.Cells["Nombre"].Value.ToString(),
                                item.Cells["Tipo"].Value.ToString()
                            );

                        Console.WriteLine(item.Cells["Nombre"].Value.ToString());
                        listaItemsEstudioA.Add(itemEst);

                    }
            estudio = new Estudio(assets.ProjectName, assets.folderName,assets.txtNeutral.Text, listaItemsEstudioA);
            assets.mySerializer.Serialize(estudio,assets.folderName + "\\" +  assets.ProjectName + ".xml");
            Console.WriteLine("Llamando Excel----" + assets.folderName, assets.ProjectName + "-Results");
            ExcelManipulator.createOAExcel(assets.folderName, assets.ProjectName+"-Results");
            DialogResult dialogResult = MessageBox.Show("Desea aplicar el estudio ahora mismo?", "Continuar", MessageBoxButtons.YesNo);
            if (dialogResult == DialogResult.Yes)
            {
                //do something
                StartEstudio estudioSiguiente = new StartEstudio(assets.folderName + "\\" + assets.ProjectName + ".xml");
                estudioSiguiente.Show();
                this.Dispose();
                assets.Dispose();

            }
            else if (dialogResult == DialogResult.No)
            {
                Application.Exit();
            }
        }