i have a project in having two classes TreeDisplay(Form.cs) and MytreeNode class in same namespace.:)
TreeDisplay class contains all the GUI related stuff like Browse button textbox , label,progress bar and TReeView. I want the user to select a XML file through browse button which will be displayed in textbox.The Xml file selected will be displayed in Treeview on winform.:(
Now i want to separate the GUI part from business logic(where i am creating treenode and adding nodes to tree) thats why i created the MytreeNode class. :S
i want to pass the string file path from my TreeDisplay class to Mytreenode class.
i want to initialize with file path.
I think something related with Uri "to use a class for xml related logic taking xml file "uri" as initializer."
How to use URI in passing the xml file to MytreeNode class?
Can you help me to do this?:-/
Hope to hear soon.....