示例#1
0
        public static void Load(AisinoTVW aisinoTVW_0, object object_0, string string_0, bool bool_0)
        {
            if (aisinoTVW_0.ImageList != null)
            {
                foreach (string str in ResourceUtil.dictionary_0.Keys)
                {
                    if (ResourceUtil.GetBitmap(str) != null)
                    {
                        aisinoTVW_0.ImageList.Images.Add(str, ResourceUtil.GetBitmap(str));
                    }
                }
            }
            Class120 class2 = PlugInTree.smethod_5(string_0);

            if (class2 != null)
            {
                foreach (object obj2 in class2.method_2(object_0, bool_0))
                {
                    if (!bool_0 && (obj2 is TreeNodeCommand))
                    {
                        aisinoTVW_0.Nodes.Add((TreeNodeCommand)obj2);
                    }
                    else if (bool_0 && (obj2 is TreeNodeCommand_All))
                    {
                        aisinoTVW_0.Nodes.Add((TreeNodeCommand_All)obj2);
                    }
                }
            }
        }
示例#2
0
        public static void Load(Aisino.Framework.Plugin.Core.Controls.OutlookBar.OutlookBar outlookBar_0, object object_0, string string_0, bool bool_0)
        {
            Class120 class2 = PlugInTree.smethod_5(string_0);

            if (class2 != null)
            {
                OutlookBarNodeCollection nodes = smethod_2(class2.method_2(object_0, bool_0));
                for (int i = nodes.Count - 1; i >= 0; i--)
                {
                    outlookBar_0.Nodes.Add(nodes[i]);
                }
            }
        }
示例#3
0
        public static void Load(NavigatePage navigatePage_0, object object_0, string string_0, bool bool_0)
        {
            Class120 class2 = PlugInTree.smethod_5(string_0);

            if (class2 != null)
            {
                NavigateMenuNode node = smethod_0(class2.method_2(object_0, bool_0));
                if (((node != null) && (node.Node != null)) && (node.Node.Count > 0))
                {
                    navigatePage_0.Nodes = node;
                }
            }
        }
示例#4
0
        public static void Load(object object_0, ToolStripItemCollection toolStripItemCollection_0, string string_0)
        {
            Class120 class2 = PlugInTree.smethod_5(string_0);

            if (class2 != null)
            {
                foreach (object obj2 in class2.method_2(object_0, false))
                {
                    if (obj2 is ToolStripItem)
                    {
                        toolStripItemCollection_0.Add((ToolStripItem)obj2);
                    }
                }
            }
        }