Ejemplo n.º 1
0
        private void removeAuthorButton_Click(object sender, EventArgs e)
        {
            AuthorItem selected = (AuthorItem)authorsListbox.SelectedItem;

            if (selected != null)
            {
                m_context.RemoveAuthor(selected.Id);
                RefreshAuthorList();
            }
        }