private void OptionsDialog_FormClosing(object sender, FormClosingEventArgs e)
{
parameters = "";
if (BEPath.Length > 0) parameters += "&BEPath=" + BEPath;
if (DefaultAuthorChanged) parameters += "&DefaultAuthor=" + BoxDefaultAuthor.Text;
parameters += "&DumpHTML=" + CheckDumpHTML.Checked.ToString();
if (DumpHTMLPathChanged) parameters += "&DumpHTMLPath=" + BoxDumpHTMLPath.Text;
parameters += "&AddCommitAsComment=" + CheckAddCommitAsComment.Checked.ToString();
parameters += "&FilterOutClosedIssues=" + CheckFilterOutClosedIssues.Checked.ToString();
parameters += "&CacheBEXML=" + CheckBEXMLCache.Checked.ToString();
switch (CheckShowCommentCount.CheckState)
{
case CheckState.Unchecked:
parameters += "&ShowCommentCount=DontShow";
break;
case CheckState.Indeterminate:
parameters += "&ShowCommentCount=ShowEasy";
break;
case CheckState.Checked:
parameters += "&ShowCommentCount=ShowAll";
break;
}
parameters += "&UseBEXML=" + CheckUseBEXML.Checked.ToString();
}