private void Worker_DoWork(object sender, DoWorkEventArgs e)
        {
            switch (Way)
            {
            case 0:
                SaveService.GetService().SaveXlsxFileBatch(TargetSource, exportDatas, typeDict);
                break;

            case 1:
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
        private void Worker_DoWork(object sender, DoWorkEventArgs e)
        {
            switch (Way)
            {
            case 0:
                //SaveService.GetService().SaveXlsxFile(TargetSource, exportModelsForExcel, list);
                SaveService.GetService().SaveXlsxFileBatch(TargetSource, exportDatas, typeDict);
                break;

            case 1:
                MessageBox.Show("暂未实现");
                break;

            default:
                break;
            }
        }