Exemplo n.º 1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {//WebClient client = new WebClient();
         //client.DownloadFile(
         //    "https://www.bankier.pl/inwestowanie/profile/quote.html?symbol=WIG",
         //    "file.html");

            //client.DownloadFile(
            //"http://bossa.pl/pub/metastock/mstock/mstall.zip",
            //"file2.zip");


            var downloadService = singleton.GetDownloadServiceSingleInstance();

            downloadService.DownloadFiles();



            //Download d = new DownloadFromBossa(new ErrorMessageToFile());

            //d.DownloadFile();

            //download
        }