Пример #1
0
        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;
        }
Пример #2
0
        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);
        }