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

            ids.Add(2);
            ENType food = (ENType) new ENType("").Read(ids);

            food.Delete();
        }