BF2Statistics.MainForm.BF2Server_Started C# (CSharp) Method

BF2Server_Started() private method

Event called when the BF2 server has successfully started
private BF2Server_Started ( ) : void
return void
        private void BF2Server_Started()
        {
            // Make this cross thread safe
            BeginInvoke((Action)delegate
            {
                // Set status to online
                ServerStatusPic.Image = Resources.check;
                LaunchServerBtn.Text = "Shutdown Server";

                // Disable the Restore bf2s python files while server is running
                BF2sRestoreBtn.Enabled = false;
                BF2sInstallBtn.Enabled = false;
            });
        }
MainForm