示例#1
0
        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();
        }
示例#2
0
        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();
        }
示例#3
0
        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();
        }
示例#4
0
        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();
        }