Beispiel #1
0
 private void button20_Click(object sender, EventArgs e)
 {
     foreach (COMimageObject item in BLLobject.GetObjects().FindAll(obj => obj.ImageID == Convert.ToInt32(numericUpDown6.Value)))
     {
         BLLobject.RemoveObject(item.ObjectId);
     }
 }
Beispiel #2
0
 private void delete_Click(object sender, EventArgs e)
 {
     BLLobject.RemoveObject(Convert.ToInt32(numericUpDown9.Value));
     numericUpDown9.Value = 0;
 }
 public void DeleteObject(int id)
 {
     BLLobject.RemoveObject(id);
 }