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

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #2
0
파일: DockPanel.cs 프로젝트: Mofsy/jinxbot
 protected virtual void OnContentRemoved(DockContentEventArgs e)
 {
     EventHandler<DockContentEventArgs> handler = (EventHandler<DockContentEventArgs>)Events[ContentRemovedEvent];
     if (handler != null)
         handler(this, e);
 }