private bool Downloader() { DownloaderDependencies dependencies = new DownloaderDependencies(); dependencies.CheckDependencies(); if (dependencies.RequiereDependencies()) { Console.WriteLine("Downloading dependencies. Please wait ..."); FormDownloader fDownloader = new FormDownloader(dependencies); fDownloader.ShowDialog(); if (fDownloader.success == false) return true; // Se canceló la descarga o ocurrió algun problema return false; } return false; }
private bool Downloader() { DownloaderDependencies dependencies = new DownloaderDependencies(); dependencies.CheckDependencies(); if (dependencies.RequiereDependencies()) { Console.WriteLine("Downloading dependencies. Please wait ..."); FormDownloader fDownloader = new FormDownloader(dependencies); fDownloader.ShowDialog(); if (fDownloader.success == false) { return(true); // Se canceló la descarga o ocurrió algun problema } return(false); } return(false); }