示例#1
0
 /// <summary>
 /// Raises the <see cref="NewMapLayer"/> event.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An System.EventArgs that contains no event data.</param>
 public void OnNewMapLayer(object sender, MapEventArgs e)
 {
     if (this.NewMapLayer != null)
     {
         this.NewMapLayer(sender, e);
     }
 }
示例#2
0
 /// <summary>
 /// Raises the <see cref="BeforeDrawingMap"/> event.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An System.EventArgs that contains no event data.</param>
 public void OnBeforeDrawMap(object sender, MapEventArgs e)
 {
     var handler = this.BeforeDrawingMap;
     if (handler != null)
     {
         handler(sender, e);
     }
 }
示例#3
0
 /// <summary>
 /// Raises the <see cref="AfterDrawingMap"/> event.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An System.EventArgs that contains no event data.</param>
 public void OnAfterDrawMap(object sender, MapEventArgs e)
 {
     if (this.AfterDrawingMap != null)
     {
         this.AfterDrawingMap(sender, e);
     }
 }