private void ViewBf2sCloneBtn_Click(object sender, EventArgs e)
{
if (!Program.Config.BF2S_Enabled)
{
DialogResult Res = MessageBox.Show("The Battlefield 2 Leaderboard is currently disabled! Would you like to enable it now?.",
"Disabled Leaderboard", MessageBoxButtons.YesNo, MessageBoxIcon.Question
);
if (Res == DialogResult.Yes)
{
Program.Config.BF2S_Enabled = true;
Program.Config.Save();
Process.Start("http://localhost/bf2stats");
}
return;
}
Process.Start("http://localhost/bf2stats");
}