private void button2_Click(object sender, EventArgs e)
 {
     EditMedInfo mdi = new EditMedInfo(ni);
     mdi.Show();
     this.Hide();
 }