private void GroupRemoved(object obj, Layer1.EventArgsGroup e) { Room room = Find(e.Group.Room); if (room.Remove(e.Group)) { Remove(room); } }
private void GroupAdded(object obj, Layer1.EventArgsGroup e) { Room room = Find(e.Group.Room); room.Add(e.Group); }