internal void btnDefault_Click(object sender, EventArgs e)
{
getnew = false;
cmbClient.SelectedItem = DefaultClient;
cmbVersion.SelectedItem = DefaultClientVersion;
// custom
chkNewValues.Checked = true;
SetCustomValues();
customPort.Text = "";
customPeersNum.Text = "";
// proxy
comboProxyType.SelectedItem = "None";
textProxyHost.Text = "";
textProxyPass.Text = "";
textProxyPort.Text = "";
textProxyUser.Text = "";
// check
checkRequestScrap.Checked = true;
checkTCPListen.Checked = true;
// Options
TorrentInfo torrent = new TorrentInfo(0, 0);
int defup = (int)(torrent.uploadRate / 1024);
int defd = (int)(torrent.downloadRate / 1024);
uploadRate.Text = defup.ToString();
downloadRate.Text = defd.ToString();
fileSize.Text = "0";
interval.Text = torrent.interval.ToString();
// Log
checkLogEnabled.Checked = true;
// Random speeds
chkRandUP.Checked = true;
chkRandDown.Checked = true;
txtRandUpMin.Text = "1";
txtRandUpMax.Text = "10";
txtRandDownMin.Text = "1";
txtRandDownMax.Text = "10";
// Random in next update
checkRandomDownload.Checked = false;
checkRandomUpload.Checked = false;
RandomUploadFrom.Text = "10";
RandomUploadTo.Text = "50";
RandomDownloadFrom.Text = "10";
RandomDownloadTo.Text = "100";
// Other
txtStopValue.Text = "0";
}