示例#1
0
        protected virtual void OnSelectedIndexChanging(TabStripPanelSelectedIndexChangingEventArgs e)
        {
            TabStripPanelSelectedIndexChangingEventHandler handler = SelectedIndexChanging;

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

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