private void button1_Click(object sender, EventArgs e)
 {
     pser = ser.Find(Convert.ToInt32(pno.Text));
     if (pser.patientName == "error")
     {
         MessageBox.Show("Couldn't connect to any database at the moment","LIFECARE");
     }
     else
     {
         report_LCH rp = new report_LCH();
         rp.Show();
     }
 }
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     report_LCH report = new report_LCH();
     report.Show();
     this.Hide();
 }
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     report_LCH r = new report_LCH();
     r.Show();
     this.Close();
 }