void AddBarLookAndFeelItem(BarLinksHolder holder, BarLookAndFeelItem item, string caption)
 {
     item.Caption    = caption;
     item.ItemClick += new ItemClickEventHandler(OnItemClick);
     item.UpdateState(lookAndFeel);
     holder.AddItem(item);
 }
        void OnItemClick(object sender, ItemClickEventArgs e)
        {
            BarLookAndFeelItem item = e.Item as BarLookAndFeelItem;

            if (item != null)
            {
                item.ApplyChanges(lookAndFeel);
            }
        }