public void Print(List <InfoCustomerPrint> header) { objectDataSource1.DataSource = header; try { string fileName = AppDomain.CurrentDomain.BaseDirectory + "/AppData/Image/ImageLeft.jpg"; Image img; if (File.Exists(fileName)) { img = Image.FromFile(fileName); ptbHinhTrai.Image = img; } fileName = AppDomain.CurrentDomain.BaseDirectory + "/AppData/Image/ImageRight.jpg"; { img = Image.FromFile(fileName); ptbHinhPhai.Image = img; } } catch (Exception ex) { API.API_ERRORLOG(new ERRORLOG(Form_Main.IPAddress, "Report_BaoGia", "Print()", ex.ToString())); } // objectDataSource2.DataSource = details; }