private void tsbExportPDF_Click(object sender, EventArgs e) { if (ExportToPDF != null) { ExportToPDF(this, EventArgs.Empty); } }