private void treeViewPropertyParameters_AfterCheck(object sender, TreeViewEventArgs e)
{
if (e.Action == TreeViewAction.ByKeyboard || e.Action == TreeViewAction.ByMouse)
{
if (e.Node.Checked)
{
foreach (TreeNode node in treeViewPropertyParameters.Nodes)
{
if (node.Name != e.Node.Name)
{
node.Checked = false
}
}
}
}
}
在节点中直接添加即可<tvns:treenode>
<input type=radio name='test'>病毒防治
</tvns:treenode>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)