Steven,
This is easy. You will have to persist the path somewhere. If it is
over the course of your program, then you would store the path in a string
variable that you can access later. If you wanted to store the path it was
saved in since the last time, then you will have to store the path in
someplace where you can access it later, as in a file or in a database.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
ni**************@exisconsulting.com
"Steven" <li****@newtouch.com.cn> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I have a problem in using TreeView.
I want to remember the path I have accessed. When I open the dialog
of this TreeView next time , it could be opened automatically.
Does anyone can help me?
Thanks.
bestRegards from
Steven Suen
2003/8/18