Пример #1
0
        protected override void OnTabSelecting(TabCancelEventArgs args)
        {
            if (Selecting != null)
            {
                TabControlCancelEventArgs e = new TabControlCancelEventArgs(
                    null, 0, args.Cancel, TabControlAction.Selecting);

                Selecting(this, e);

                args.Cancel = e.Cancel;
            }

            base.OnTabSelecting(args);
        }
 private void TabInfo_ChangingSelectedTab(object sender, TabCancelEventArgs e)
 {
     ModifyButtonCommand();
 }