private void DisconnectBTN_Click(object sender, EventArgs e) { //Stop the bot _bot.StopBot(); AddEventItem("Disconnected", EventListItem.SuccessColor); //Save the current settings _settings.WriteSettings(); }