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]); } } }
private static OutlookBarNodeCollection smethod_2(ArrayList arrayList_0) { OutlookBarNodeCollection nodes = new OutlookBarNodeCollection(); foreach (object obj2 in arrayList_0) { TreeNodeCommand command = obj2 as TreeNodeCommand; if (command != null) { OutlookBarNode node = new OutlookBarNode(command.Text, true, false, 0, new Font("微软雅黑", 16f), 50); smethod_3(node, command); nodes.Add(node); } } return(nodes); }