Exemple #1
0
        protected virtual void OnContentRemoved(DockContentEventArgs e)
        {
            EventHandler <DockContentEventArgs> handler = (EventHandler <DockContentEventArgs>)Events[ContentRemovedEvent];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 protected virtual void OnContentRemoved(DockContentEventArgs e)
 {
     EventHandler<DockContentEventArgs> handler = (EventHandler<DockContentEventArgs>)Events[ContentRemovedEvent];
     if (handler != null)
         handler(this, e);
 }