private void btnExportFile_Click(object sender, EventArgs e) { _mdiForm.Jarvis.ExportFileData = _filteredList.ConvertAll(x => x as object); FileExportBase efb = new SpecialistFile(_mdiForm.Jarvis); FileExportDashBoard fed = new FileExportDashBoard(efb); fed.ShowDialog(); }
private void btnExport_Click(object sender, EventArgs e) { _mdiForm.Jarvis.OutputFileName = "Export Incident List"; _mdiForm.Jarvis.ExportOjectType = new Incident(); _mdiForm.Jarvis.ExportFileData = _filteredIncidents.ConvertAll(x => x as object); FileExportBase efb = new IncidentFile(_mdiForm.Jarvis); //FileExportDashBoard fed = new FileExportDashBoard(_mdiForm.Jarvis); FileExportDashBoard fed = new FileExportDashBoard(efb); fed.ShowDialog(); }
private void btnExportFile_Click(object sender, EventArgs e) { //_mdiForm.Jarvis.OutputFileName = sqlBase.GetType().Name;// "Export Student List"; //_mdiForm.Jarvis.ExportOjectType = new Student(); _mdiForm.Jarvis.ExportFileData = _filteredStaffList.ConvertAll(x => x as object); FileExportBase efb = new StaffFile(_mdiForm.Jarvis); //FileExportDashBoard fed = new FileExportDashBoard(_mdiForm.Jarvis); FileExportDashBoard fed = new FileExportDashBoard(efb); fed.ShowDialog(); }
private void btnExport_Click(object sender, EventArgs e) { //_mdiForm.Jarvis.OutputFileName = sqlBase.GetType().Name;// "Export Student List"; //_mdiForm.Jarvis.ExportOjectType = new Student(); _mdiForm.Jarvis.ExportFileData = _residentYearlyCallSummarySummaryList.ConvertAll(x => x as object); FileExportBase efb = new ResidentRollCallYearlySummaryFile(_mdiForm.Jarvis); //FileExportDashBoard fed = new FileExportDashBoard(_mdiForm.Jarvis); FileExportDashBoard fed = new FileExportDashBoard(efb); fed.ShowDialog(); }