// Called when a token is added or removed from the collection
        protected void onMapTokenAddedRemoved(MapToken token)
        {
            MapTokenAddedRemovedEventHandler handler = MapTokenAddedRemovedEvent;

            if (handler != null)
            {
                MapTokenAddedRemovedEventArgs args = new MapTokenAddedRemovedEventArgs(token);
                handler(this, args);
            }
        }
Exemplo n.º 2
0
 private void ActiveTokens_MapTokenAddedRemovedEvent(object sender, MapTokenAddedRemovedEventArgs a)
 {
     refreshActiveTokenList();
 }