Ejemplo n.º 1
0
 protected virtual void OnContentRemoved(DockContentEventArgs e)
 {
     EventHandler<DockContentEventArgs> handler = (EventHandler<DockContentEventArgs>)Events[ContentRemovedEvent];
     if (handler != null)
         handler(this, e);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Handles the ContentRemoved event of the <see cref="dockPanel"/> control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="DockContentEventArgs"/> instance containing the event data.</param>
 private void dockPanel_ContentRemoved(object sender, DockContentEventArgs e)
 {
     CacheOpenMaps();
 }