Ejemplo n.º 1
0
        private void ButtonSuivant_Click(object sender, EventArgs e)
        {
            DirectoryInfo di = new DirectoryInfo(textBoxEmplacement.Text);

            if (Directory.Exists(textBoxEmplacement.Text))
            {
                //Directory exists
            }
            else
            {
                //Directory does not exist
                di.Create();
            }



            //Pour créer le rep d'install Tomcat comme ça l'user le voit
            DirectoryInfo dirTomcat = new DirectoryInfo(Path.Combine(di.FullName, "Tomcat-8.5"));

            dirTomcat.Create();

            //We change form if everything's good
            this.Hide();

            //On met à jour la variable globale de la classe InstallInfos
            InstallInfos.repPrincipal = di.FullName;

            Form3JavaPathAndOpenJDK f3 = new Form3JavaPathAndOpenJDK();

            f3.ShowDialog();
        }
Ejemplo n.º 2
0
        private void buttonPrecedent_Click(object sender, EventArgs e)
        {
            Form3JavaPathAndOpenJDK f3 = new Form3JavaPathAndOpenJDK();

            this.Hide();
            f3.Show();
        }
Ejemplo n.º 3
0
        private void buttonSkip_Click(object sender, EventArgs e)
        {
            this.Hide();

            Form3JavaPathAndOpenJDK f3 = new Form3JavaPathAndOpenJDK();

            f3.ShowDialog();
        }