/// <summary> /// Deletes the currently selected account /// WARNING: There is no dialog to confirm. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonAccountsDelete_Click(object sender, EventArgs e) { BotFile.DeleteAccount(comboBoxAccounts.Text); // refresh the combobox RefreshAccounts(); }