Beispiel #1
0
        private void OnComponentRemoved(object sender, ComponentEventArgs ce)
        {
            TabItem item = ce.Component as TabItem;

            if (item != null)
            {
                // announce the tab host
                tabHost.Tabs.Remove(item);
                hostGlyph.ComputeBounds();
                adorner.Invalidate();
            }
        }