I have a Windows Forms form on which there are a few listview controls. Currently, if I ever need to add some changes to those listviews, I have to specify all names in my code. It is troublesome if I have to list a few names at each time. So I am wondering if there is a way to retrieve a listview control just by providing a name string. Something like:
Controls.find(name of listview)
I tried
Controls.Find(name,true)
But it returns an error. What is the reason?