void OnPopupLookAndFeel(object sender, EventArgs e)
        {
            BarSubItem items = sender as BarSubItem;

            foreach (BarItemLink item in items.ItemLinks)
            {
                CheckBarItemWithStyle aItem = item.Item as CheckBarItemWithStyle;
                if (aItem != null)
                {
                    if (aItem.LookAndFeelStyle == LookAndFeelStyle.Skin)
                    {
                        aItem.Checked = UsingXP;
                    }
                    else
                    {
                        aItem.Checked = AvailableStyle(aItem.LookAndFeelStyle);
                    }
                }
            }
            //miAllowFormSkins.Checked = DevExpress.Skins.SkinManager.AllowFormSkins;
        }
        void SetupMenu()
        {
            string preview = Manager.IsDesignMode ? " (Preivew Only)" : "";

            miLookAndFeel    = new BarSubItem(Manager, "&Look And Feel" + preview);
            miAllowFormSkins = new CheckBarItem(Manager, "Allow Form Skins", OnSwitchFormSkinStyle_Click);
            miLookAndFeel.ItemLinks.Add(miAllowFormSkins);
            miLookAndFeel.ItemLinks.Add(new CheckBarItemWithStyle(Manager, "&Flat", OnSwitchStyle_Click, ActiveLookAndFeelStyle.Flat, LookAndFeelStyle.Flat)).BeginGroup = true;
            miLookAndFeel.ItemLinks.Add(new CheckBarItemWithStyle(Manager, "&Ultra Flat", OnSwitchStyle_Click, ActiveLookAndFeelStyle.UltraFlat, LookAndFeelStyle.UltraFlat));
            miLookAndFeel.ItemLinks.Add(new CheckBarItemWithStyle(Manager, "&Style3D", OnSwitchStyle_Click, ActiveLookAndFeelStyle.Style3D, LookAndFeelStyle.Style3D));
            miLookAndFeel.ItemLinks.Add(new CheckBarItemWithStyle(Manager, "&Office2003", OnSwitchStyle_Click, ActiveLookAndFeelStyle.Office2003, LookAndFeelStyle.Office2003));
            miLookAndFeel.ItemLinks.Add(new CheckBarItemWithStyle(Manager, "&XP", OnSwitchStyle_Click, ActiveLookAndFeelStyle.WindowsXP, LookAndFeelStyle.Skin));
            miSkin = new BarSubItem(Manager, "S&kin");
            miLookAndFeel.Popup += OnPopupLookAndFeel;
            miSkin.Popup        += OnPopupSkinNames;
            foreach (SkinContainer cnt in SkinManager.Default.Skins)
            {
                miSkin.ItemLinks.Add(new CheckBarItem(Manager, cnt.SkinName, OnSwitchSkin, ActiveLookAndFeelStyle.Skin));
            }

            miLookAndFeel.ItemLinks.Add(miSkin);

            if (Manager.MainMenu != null)
            {
                Manager.MainMenu.ItemLinks.Add(miLookAndFeel);
            }

            foreach (BarItemLink item in miLookAndFeel.ItemLinks)
            {
                CheckBarItemWithStyle aItem = item.Item as CheckBarItemWithStyle;
                if (aItem != null && aItem.LookAndFeelStyle == LookAndFeelStyle.Skin)
                {
                    aItem.Enabled = DevExpress.Utils.WXPaint.Painter.ThemesEnabled;
                }
            }

            CreateOfficeSkins(miSkin);
            CreateBonusSkins(miSkin);
        }