private void Button2_Click(object sender, EventArgs e) { this.Show(); RECORDS r = new RECORDS(); r.Show(); }
private void Button3_Click(object sender, EventArgs e) { string connection = CommonMethods.GetConnectionString(); using (SqlConnection con = new SqlConnection(connection)) { this.Hide(); RECORDS ss = new RECORDS(); ss.Show(); } }