//    public string Vis_patname;
 private void ultraBtnVEdit_Click(object sender, EventArgs e)
 {
     objfrmVisit             = new frmVisit();
     objfrmVisit.id          = Vis_id.ToString();
     objfrmVisit.dod         = Vis_dod.ToString();
     objfrmVisit.dov         = Vis_dov.ToString();
     objfrmVisit.treatment   = Vis_treatment.ToString();
     objfrmVisit.symptoms    = Vis_symptoms.ToString();
     objfrmVisit.disease     = Vis_disease.ToString();
     objfrmVisit.patienttype = Vis_patienttype.ToString();
     objfrmVisit.patid       = Vis_patientid.ToString();
     objfrmVisit.docid       = Vis_doctorid.ToString();
     objfrmVisit.bedid       = Vis_bedid.ToString();
     // objfrmVisit.patname = Vis_patname.ToString();
     objfrmVisit.strFormMode = "EDIT";
     objfrmVisit.ShowDialog();
 }
 private void ultraBtnVNew_Click(object sender, EventArgs e)
 {
     objfrmVisit             = new frmVisit();
     objfrmVisit.strFormMode = "NEW";
     objfrmVisit.ShowDialog();
 }