Hi. I have a treeview control in my mdi child form. In treeview control form names listing like this,
when the user clicks on "About" then frm_about shows.
How can I bind these to values? I got something in my mind but I dont know how to make it. If I write down the treeview names (userfriendly names) in to the forms text property, Is it possible to open it from there? For example;
Dim asm As System.Reflection.Assembly = System.Reflection.Assembly.GetExecutingAssembly
Dim objForm As Form = asm.CreateInstance(asm.GetName.Name + "." + "frmAbout", True)
this code opens from the names from string. Is there any way to find the form name by serching the form header texts? Maybe I can use the upper code to by binding treeview names to form header text.
Like form userfriendly name: About
form name: frm_about
form header text: About
Anther question, How can I get the name of the forms as a list, which is currently existing in my application.