public override bool DeleteRecord(BaseRecord br) { var r = br as Rec; if (r == null) { return false; } bool ok = this.records.Remove(r); if (ok) { r.Parent = null; } FireRecordListUpdate(this, this); FireRecordDeleted(this, r); return ok; }