private void toolStripButton4_Click(object sender, EventArgs e) { //ExportFile ExportDialog export = new ExportDialog(controller, ((String)tsReportSelector.SelectedItem)); if (export.ShowDialog() == DialogResult.OK) { } else { export.Dispose(); } }