void SetTreeNodeMain() { m_linkconfiglist = ConfigJson.LoadLink(); tree_server.ItemsSource = m_treenodemainlist; m_treenodemainlist.Add(new TreeNodeMain() { text = "服务器列表", childer = m_treenodeserverlist }); SetTreeNodeServer(); }