private void btnBrowseDownloadDirectory_Click(object sender, EventArgs e)
        {
            string filepath = GuiUtil.SelectFolder(this, Localization.GetString("msg.select_download_directory.title", "Select download directory..."), txtDownloadDirectory.Text, preferences.UseBasicFolderPicker);

            if (filepath != null)
            {
                txtDownloadDirectory.Text = filepath;
            }
        }
Esempio n. 2
0
        private void btnDefaultDownloadDirectoryBrowse_Click(object sender, EventArgs e)
        {
            string filepath = GuiUtil.SelectFolder("Select default download directory...", txtDefaultDownloadArchive.Text);

            if (filepath != null)
            {
                txtDefaultDownloadDirectory.Text = filepath;
            }

            DialogResult = DialogResult.None;
        }