Ejemplo n.º 1
0
 private void CustomLayerControl_NameChanged(string LayerName)
 {
     LayerNameChanged?.Invoke(selectedLayerControl.FormerName, LayerName);
     selectedLayerControl.FormerName = LayerName;
 }
Ejemplo n.º 2
0
 private void LayerStackConfigControl_LayerNameChanged(string FormerName, string NewName)
 {
     LayerNameChanged?.Invoke(FormerName, NewName);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Method called when <see cref="LayerName"/> has changed, to invoke <see cref="E:SharpMap.Layers.Layer.LayerNameChanged"/>
 /// </summary>
 /// <param name="eventArgs">The arguments associated with the event</param>
 protected virtual void OnLayerNameChanged(EventArgs eventArgs)
 {
     LayerNameChanged?.Invoke(this, eventArgs);
 }