private void btnBack_Click(object sender, EventArgs e) { SearchSublet ss = new SearchSublet(userid, status); ss.Show(); this.Hide(); }
private void btnSublet_Click(object sender, EventArgs e) { if (status == "Verified") { SearchSublet ss = new SearchSublet(userid, status); //SearchSublet ads = new SearchSublet(userid, status); ss.Show(); this.Hide(); } else { MessageBox.Show(this, "Please Verify Your Account."); } }