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(); } }
public AddPicture(NewLicense nl) { this.active = nl; InitializeComponent(); }
public ViewNewRecord(NewLicense nl) { this.active = nl; InitializeComponent(); btnUpdate.Enabled = false; }