private void ServerBtn_Click(object sender, EventArgs e)
{
OpenFileDialog Dialog = new OpenFileDialog();
Dialog.FileName = "bf2_w32ded.exe";
Dialog.Filter = "BF2 Server Executable|bf2_w32ded.exe";
// Set the initial search directory if we found an install path via registry
if (!String.IsNullOrWhiteSpace(ServerInstallPath))
Dialog.InitialDirectory = ServerInstallPath;
if (Dialog.ShowDialog() == DialogResult.OK)
ServerPath.Text = Path.GetDirectoryName(Dialog.FileName);
}