public void do_Print() { if (do_Validation()) { return; } try { var req = new ProductPrintRequest { ProductBegin = Convert.ToInt32(lp_PRoductBegin.EditValue), ProductEnd = Convert.ToInt32(lp_PRoductEnd.EditValue), companyId = lc_Company.EditValue == null ? 0 : (int)lc_Company.EditValue, DepotId = lc_Depot.EditValue == null ? 0 : (int)lc_Depot.EditValue }; List <ProductDTO> data = new List <ProductDTO>(); data = _repository.Run <ReportService, List <ProductDTO> >(x => x.Get_List_EnvanterBilgisi(req)); if (data.Count > 0) { frmPrint frm = new frmPrint(); frm.PrintEnvanterBilgisi(data); frm.ShowDialog(); } } catch (Exception ex) { } }