示例#1
0
        public void DeleteMedicine(Medicine med)
        {
            log.OnDeleteEventLog(new MedicineEventArgs(med));

            ReplacementsCreator.deleteAll(med);

            medBase.Remove(med);
        }
示例#2
0
        public void DeleteMedicine(int index)
        {
            log.OnDeleteEventLog(new MedicineEventArgs(medBase[index]));

            ReplacementsCreator.deleteAll(medBase[index]);

            medBase.RemoveAt(index);
        }