Beispiel #1
0
 //private void frmCheckListServiceDepartment_atHyperLinkClick(object sender, Microsoft.Reporting.WinForms.HyperlinkEventArgs e)
 //{
 //    try
 //    {
 //        Uri link = new Uri(e.Hyperlink);
 //        if (link.Authority == "ataccplus")
 //        {
 //            e.Cancel = true;
 //            char[] sep = new char[] { '=' };
 //            var param = link.Query.Split(sep);
 //            string rowid = param[1];
 //            ANIHelper aniHelper = new ANIHelper();
 //            aniHelper.DrillDownTransaction(EnContextID.ANI_Bank, rowid.ToInt32());
 //        }
 //    }
 //    catch (Exception ex)
 //    {
 //        ExceptionManager.Publish(ex);
 //        atMessageBox.Show(ex, ENOperation.HyperLinkClick);
 //        return;
 //    }
 //}
 private void frmCheckListServiceDepartment_atDesignClick(object source, DesignClickEventArgs e)
 {
     try
     {
         e.ReportPath = Application.StartupPath + "\\ServiceManagement.Reports\\rptCheckListServiceDepartment.rdlc";
     }
     catch (Exception ex)
     {
         ExceptionManager.Publish(ex);
         atMessageBox.Show(ex, ENOperation.DesignClick);
         return;
     }
 }
 private void frmCheckListServiceInsurance_atDesignClick(object source, DesignClickEventArgs e)
 {
     try
     {
         if (radAll.Checked == true)
         {
             e.ReportPath = Application.StartupPath + "\\Reports\\rptCheckListServiceInsurance.rdlc";
         }
     }
     catch (Exception ex)
     {
         ExceptionManager.Publish(ex);
         atMessageBox.Show(ex, ENOperation.DesignClick);
         return;
     }
 }