private void PanelActivated(object sender, PanelEventArgs e) { if (e.PanelPresenter is PropertyListPresenter) { TabControl control = _tabProperties.Parent as TabControl; if (control != null) control.SelectedTab = _tabProperties; } }
protected virtual void OnPanelActivation(PanelEventArgs e) { var ev = PanelActivation; if (ev != null) ev(this, e); }