private void btnProceed_Click(object sender, EventArgs e)
        {
            if (rbNewLicense.Checked == false && rbRenewLicense.Checked == false)
            {
                MessageBox.Show("Please Select an option");
            }
            if (rbNewLicense.Checked == true)
            {
                btnProceed.Enabled = true;
                if (nl.IsDisposed == true)
                {
                    nl = new NewLicense();
                }
                nl.Show();
                this.Hide();
            }

            else if (rbRenewLicense.Checked == true)
            {
                if (rnl.IsDisposed == true)
                {
                    rnl = new RenewAutofill();
                }
                rnl.Show();
                this.Hide();
            }
        }
Beispiel #2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            RenewAutofill ll = new RenewAutofill();

            ll.ShowDialog();
        }