示例#1
0
        private void UpdateData_Click(Object sender, RoutedEventArgs e)
        {
            const string link      = @"https://bdu.fstec.ru/files/documents/thrlist.xlsx";
            var          webClient = new WebClient();

            webClient.DownloadFile(new Uri(link), "thrlist.xlsx");
            FilePath = "thrlist.xlsx";
            var updateDataWindow = new UpdateDataWindow();

            updateDataWindow.Show();
        }