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); } }
public MdiGMTabItem(MdiBarController barContainer) { _barContainer = barContainer; IsStillValid = true; }