private void BtnNext_Click(object sender, EventArgs e)
        {
            try
            {
                FrmInstallAndSetUpSystem frmInstallAndSetUpSystem = new FrmInstallAndSetUpSystem(PublishPath);

                // Change the attribute which determines whether the IIS got installed using the app or not.
                // The purpose is to transfer the value to the last form.
                // In the last form if the IIS got installed a message will get prompted to ask whether the user wants an immediate restart or not.
                frmInstallAndSetUpSystem.IISInstalled = IISInstalled;

                frmInstallAndSetUpSystem.Show();
                Hide();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Exemplo n.º 2
0
 public DataVerification(FrmInstallAndSetUpSystem frmInstallAndSetUpSystem)
 {
     FrmInstallAndSetUpSystemObj = frmInstallAndSetUpSystem;
 }