C# C/S TreeView 设置为只读
private void tvModule_BeforeCheck(object sender, TreeViewCancelEventArgs e)
{
e.Cancel = true;
}
private void tvModule_BeforeCheck(object sender, TreeViewCancelEventArgs e)
{
// 窗体已经加载完毕
if (this.FormLoaded)
{
e.Cancel = true;
}
}