internal static void SaveFile()
        {
            var            excelPackage   = DataToExcel.CopyDBtoExcel();
            SaveFileDialog saveFileDialog = new();

            saveFileDialog.Filter      = "xlsx files (*.xlsx)|*.xlsx|xls files (*.xls)|*.xls";
            saveFileDialog.FilterIndex = 1;
            if (saveFileDialog.ShowDialog() == true)
            {
                FileInfo fi = new FileInfo(saveFileDialog.FileName);
                excelPackage.SaveAs(fi);
            }
        }