private void item_TagsEdited(MapZoneDrawing sender) { if (MapZoneChanged != null) { FrostbiteConnection.RaiseEvent(MapZoneChanged.GetInvocationList(), sender); } }
protected override void SetItem(int index, MapZoneDrawing item) { if (MapZoneChanged != null) { FrostbiteConnection.RaiseEvent(MapZoneChanged.GetInvocationList(), item); } base.SetItem(index, item); item.TagsEdited += new MapZoneDrawing.TagsEditedHandler(item_TagsEdited); }
public void ModifyMapZonePoints(string strUid, Point3D[] points) { if (Contains(strUid) == true) { // this[strUid].LevelFileName = mapFileName; this[strUid].ZonePolygon = points; if (MapZoneChanged != null) { FrostbiteConnection.RaiseEvent(MapZoneChanged.GetInvocationList(), this[strUid]); } } }