Example #1
0
 public void InsertPatient(Patient patient)
 {
     try
     {
         PatientBLL patientBll = new PatientBLL();
         int        result     = patientBll.InsertPatient(patient);
         if (result > 0)
         {
             MessageBox.Show("Insert Successfully");
             ClearPatient(patient);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }