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

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