コード例 #1
0
        protected override void OnInitialized()
        {
            if (ParentTabs != null)
            {
                ParentTabs.HookTab(Name);
            }

            base.OnInitialized();
        }
コード例 #2
0
        protected override void OnInitialized()
        {
            if (ParentTabs != null)
            {
                ParentTabs.HookTab(Name);

                Active = Name == ParentTabs.SelectedTab;

                ParentTabs.StateChanged += OnTabsStateChanged;
            }

            base.OnInitialized();
        }