Exemplo n.º 1
0
        protected virtual void OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs e)
        {
            TabStripPanelSelectedIndexChangingEventHandler handler = SelectedIndexChanging;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        protected virtual void OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs e)
        {
            TabStripPanelSelectedIndexChangingEventHandler selectedIndexChanging = this.SelectedIndexChanging;

            if (selectedIndexChanging == null)
            {
                return;
            }
            selectedIndexChanging((object)this, e);
        }