private void inspector_ApplyMenuRootSettingsEvent(object sender, ApplyMenuRootSettingsEventArgs e)
 {
     this.ApplySettingsMenuRootItems(e.MenuRootItems);
 }
        /// <summary>
        /// Displays the workspace menu and toolbar items.
        /// </summary>
        public void ShowWorkspaceMenuToolbarItems()
        {
            // new Arguments
            ApplyMenuRootSettingsEventArgs newArgs = new ApplyMenuRootSettingsEventArgs();

            foreach ( DictionaryEntry de in this.mnRoot)
            {
                MenuRoot mnu = (MenuRoot)de.Value;

                mnu.Visible = true;
                mnu.Enabled = mnu.Enabled;
                newArgs.MenuRootItems.Add(mnu.Name,mnu);
            }

            // update menu
            this.ApplyMenuRootSettingsEvent(this,newArgs);
        }