private void btnSaveAdd_Click(object sender, EventArgs e) { appDB = new AppDatabase(); int selectedbook = lstBookcodes.SelectedIndex; string newsong = appDB.NewSong(lstBookcodes.Text, txtNumber.Text, txtSongTitle.Text, txtSongContent.Text, txtSongKey.Text, "", ""); if (newsong == "success") { LoadFeedback(txtSongTitle.Text + " has been added successfully!", true, true); loadBooks(); cmbBooks.SelectedIndex = selectedbook; txtNumber.box.Clear(); txtSongKey.box.Clear(); txtSongTitle.box.Clear(); txtSongContent.Clear(); } else { LoadFeedback("Unable to add a song: " + newsong, false); } }