/// <summary> /// Delete library /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void DeleteLibraryMenuItem_Click(object sender, RoutedEventArgs e) { tableManager.DeleteLibrary(DataView.SelectedIndex); UpdateDataGridContext(); }