Esempio n. 1
0
 private void upgradeButton_Click(object sender, EventArgs e)
 {
     programVariables.setUpgrade(true);
     if (!programVariables.getODBCInstalled())
     {
         this.Hide();
         ODBCWarning theWarningPage = new ODBCWarning();
         theWarningPage.Show();
     }
     else
     {
         if (programVariables.getMySQLInstalled())
         {
             this.Hide();
             jcmsUpgradeForm upgradeForm = new jcmsUpgradeForm();
             upgradeForm.Show();
         }
         else
         {
             this.Hide();
             installMySQL installMySqlForm = new installMySQL();
             installMySqlForm.Show();
         }
     }
 }
Esempio n. 2
0
 private void installButton_Click(object sender, EventArgs e)
 {
     programVariables.setInstall(true);
     if (!programVariables.getODBCInstalled())
     {
         this.Hide();
         ODBCWarning theWarningPage = new ODBCWarning();
         theWarningPage.Show();
     }
     else if (!programVariables.getMySQLInstalled())
     {
         this.Hide();
         installMySQL theMySQLPage = new installMySQL();
         theMySQLPage.Show();
     }
     else
     {
         this.Hide();
         jcmsInstallForm installJCMS = new jcmsInstallForm();
         installJCMS.Show();
     }
 }
Esempio n. 3
0
 private void installButton_Click(object sender, EventArgs e)
 {
     programVariables.setInstall(true);
     if (!programVariables.getODBCInstalled())
     {
         this.Hide();
         ODBCWarning theWarningPage = new ODBCWarning();
         theWarningPage.Show();
     }
     else if (!programVariables.getMySQLInstalled())
     {
         this.Hide();
         installMySQL theMySQLPage = new installMySQL();
         theMySQLPage.Show();
     }
     else
     {
         this.Hide();
         jcmsInstallForm installJCMS = new jcmsInstallForm();
         installJCMS.Show();
     }
 }
Esempio n. 4
0
 private void upgradeButton_Click(object sender, EventArgs e)
 {
     programVariables.setUpgrade(true);
     if (!programVariables.getODBCInstalled())
     {
         this.Hide();
         ODBCWarning theWarningPage = new ODBCWarning();
         theWarningPage.Show();
     }
     else
     {
         if (programVariables.getMySQLInstalled())
         {
             this.Hide();
             jcmsUpgradeForm upgradeForm = new jcmsUpgradeForm();
             upgradeForm.Show();
         }
         else
         {
             this.Hide();
             installMySQL installMySqlForm = new installMySQL();
             installMySqlForm.Show();
         }
     }
 }