Exemple #1
0
        /// <summary>
        /// 各类型 对应的加载子项的类型数组
        /// </summary>
        /// <returns></returns>
        protected override Dictionary <string, Type[]> CreateNewItemTypesDictionary()
        {
            Dictionary <string, Type[]> typeCreateNewItemTypesDictionary = CollectionDesignerForm.GetCreateNewItemTypesDictionary();

            //
            typeCreateNewItemTypesDictionary.Add
            (
                "R_ToolbarItems",
                GetRibbonQuickAccessToolbarNewItemTypes()
            );
            typeCreateNewItemTypesDictionary.Add
            (
                "R_PageContents",
                GetRibbonPageContentContainerNewItemTypes()
            );
            typeCreateNewItemTypesDictionary.Add
            (
                "R_RibbonPages",
                new Type[] { typeof(RibbonPageItem) }
            );
            typeCreateNewItemTypesDictionary.Add
            (
                "GISShare.Controls.WinForm.WFNew.RibbonControlItem+RibbonPageCollection",
                new Type[] { typeof(RibbonPageItem) }
            );
            //
            return(typeCreateNewItemTypesDictionary);
        }
Exemple #2
0
 /// <summary>
 /// 默认的加载子项的类型数组
 /// </summary>
 /// <returns></returns>
 protected override Type[] CreateNewItemTypes()
 {
     return(CollectionDesignerForm.GetCreateNewItemTypes());
 }