I'm creating a Treeview using the method described here

What I can't seem to figure out is how to set the Cursor as Wait while it's going through all of the TreeNodes during the VerifyCheckedState processing. Does anyone have any ideas how I can do this?

有帮助吗?

解决方案

I wish I could extend this answer a bit, but there's really not too much to say... try using the Mouse.SetCursor Method to set the Wait cursor:

Mouse.SetCursor(Cursors.Wait);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top