Esempio n. 1
0
        protected virtual void OnClick(WebTab tab)
        {
            ArgumentUtility.CheckNotNull("tab", tab);
            tab.OnClick();
            WebTabClickEventHandler handler = (WebTabClickEventHandler)Events[s_clickEvent];

            if (handler != null)
            {
                WebTabClickEventArgs e = new WebTabClickEventArgs(tab);
                handler(this, e);
            }
        }
Esempio n. 2
0
 /// <summary>
 ///   Event handler for the <see cref="WebTabStrip.Click"/> of the <see cref="SubMenuTabStrip"/>.
 /// </summary>
 private void SubMenuTabStrip_Click(object sender, WebTabClickEventArgs e)
 {
     HandleTabStripClick((MenuTab)e.Tab);
 }