private void btnDownloadGame_Click(object sender, EventArgs e)
        {
            string path = _dialogsHelpers.OpenFolder(_folderSelectionText, string.Empty, true, string.Empty);

            if (path == string.Empty)
            {
                return;
            }

            lblStatus.Visible   = false;
            pgbDownload.Visible = true;
            pgbDownload.Value   = 0;

            _helper.DownloadMedia(_downloadURI, string.Format("{0}\\{1}", path, _destinationFile));
        }
Exemple #2
0
 private void btnDefaultGamesFolder_Click(object sender, EventArgs e)
 {
     txtDefaultGamesFolder.Text = _dialogsHelpers.OpenFolder(_translator.GetTranslatedMessage(_AppSettings.Language, 60, "Choose default games repository folder"), txtDefaultGamesFolder.Text, true, txtDefaultGamesFolder.Text);
 }