Exemplo n.º 1
0
 public GameDownloader()
 {
     InitializeComponent();
     _helper = null;
     _dialogsHelpers = new DialogsHelpers();
     SetupDownloadButton();
 }
        public MyAbandonwareSearchDialog(AppManager Manager)
        {
            InitializeComponent();
            _allowGameDownload = true;
            btnSave.Visible = false;
            _manager = Manager;
            _manager.Translator.TranslateUI(_manager.AppSettings.Language, this.Name, this.Controls);

            _scraper = new MyAbandonware(Manager);
        }
Exemplo n.º 3
0
        public GameDownloader(MyAbandonware Helper, string DownloadURI, string DestinationFile)
        {
            _helper = Helper;
            _downloadURI = DownloadURI;
            _destinationFile = DestinationFile;
            _dialogsHelpers = new DialogsHelpers();

            EnableDownload();
            AddDownloadHandlers();
        }
        public MyAbandonwareGameDialog(AppManager Manager, MyAbandonGameInfo game, MyAbandonware helper, bool ShowDownload)
        {
            InitializeComponent();

            _manager = Manager;
            _game = game;
            _helper = helper;

            //I allow the creation of a new game if the connection is up
            //btnCommit.Visible = (_manager.DB.ConnectionStatus == ConnectionState.Open);

            gameDownloader.Visible = ShowDownload;
            if (!ShowDownload)
                screenshotsList.Height = 502;

            _manager.Translator.TranslateUI(_manager.AppSettings.Language, this.Name, this.Controls);

            CompileUI();
        }