示例#1
0
        private void BtnDelete_Click(object sender, RoutedEventArgs e)
        {
            var button = (Button)sender;
            var item   = (Item)button.DataContext;

            _categoryDVM.DeleteItem(item);

            Refresh();
        }