Form switching method
-
Hi All, This is my first post in the C# section. Hope I get a reply. In my windows form application I have a TreeView on the left side of a splitter control. Tree nodes can have 2 labels say, A and B. If the user selects a node with A label on it, I want to show a form with some controls on the right side of the splitter. If the user selects a node with B label on it, I want to show a different form with different controls on the right side of the splitter. Can anyone suggest a method for form switching the way I want? Please dont ask me to use only one form and show and hide controls depending on the tree node selection. Your help will be much appreciated. TIA Binayak
-
Hi All, This is my first post in the C# section. Hope I get a reply. In my windows form application I have a TreeView on the left side of a splitter control. Tree nodes can have 2 labels say, A and B. If the user selects a node with A label on it, I want to show a form with some controls on the right side of the splitter. If the user selects a node with B label on it, I want to show a different form with different controls on the right side of the splitter. Can anyone suggest a method for form switching the way I want? Please dont ask me to use only one form and show and hide controls depending on the tree node selection. Your help will be much appreciated. TIA Binayak
-
Hi All, This is my first post in the C# section. Hope I get a reply. In my windows form application I have a TreeView on the left side of a splitter control. Tree nodes can have 2 labels say, A and B. If the user selects a node with A label on it, I want to show a form with some controls on the right side of the splitter. If the user selects a node with B label on it, I want to show a different form with different controls on the right side of the splitter. Can anyone suggest a method for form switching the way I want? Please dont ask me to use only one form and show and hide controls depending on the tree node selection. Your help will be much appreciated. TIA Binayak