protected void deleteType(object sender, EventArgs e) { typeSelected.Delete(); typeSelected = null; buttonDelete.Sensitive = false; entrySearch.Text = ""; FillTree(); }
public void ReadDelete() { List <int> ids = new List <int>(); ids.Add(2); ENType food = (ENType) new ENType("").Read(ids); food.Delete(); }