예제 #1
0
        private void DeleteElement()
        {
            var temp = new List <ElementModel>(CurrentTable.ElementDataGrid.SelectedItems.OfType <ElementModel>());

            Manager.Remove(temp);
            foreach (ElementModel item in temp)
            {
                CurrentTable.DeleteElement(item);
            }
        }