public override bool OnExport()
 {
     try
     {
         HPA.Common.ExportData exp = new HPA.Common.ExportData(grvFamilyInfor);
         exp.ShowDialog();
     }
     catch (Exception e)
     {
         HPA.Common.Helper.ShowException(e, this.Name + ".OnExport()", null);
         return false;
     }
     return true;
 }
 public override bool OnExport()
 {
     try
     {
         ExportData exp = new ExportData(grvAttendanceList);
         exp.ShowDialog();
     }
     catch (Exception e)
     {
         HPA.Common.Helper.ShowException(e, this.Name + ".OnExport()", null);
         return false;
     }
     return true;
 }