Exemple #1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (base.IsMdiContainer)
            {
                SetMdiClient();
                _listClosedMdiChild = new List <Form>();
                _mdiBarController   = new MdiBarController(this);
                _mdiBarController.TabCloseButtonClick += new EventHandler(OnMdiTabCloseButtonClick);
                _mdiBarController.NewTabButtonClick   += new EventHandler(OnMdiNewTabButtonClick);
                OnMdiBarCreated(this, EventArgs.Empty);
            }
        }
Exemple #2
0
 public MdiGMTabItem(MdiBarController barContainer)
 {
     _barContainer = barContainer;
     IsStillValid  = true;
 }