且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Windows窗体中查找文件夹路径

更新时间:2023-12-06 12:03:34

只需简单地添加要包含的文件夹或文件的引用,只需右键单击保存所有表单的文件夹即可.
Just simply add references of the folder or files which you want to include, by right clicking on your folder where you have kept all your forms..


我不知道您在做什么,但是您可以尝试

I don''t know what you are doing but you try this

Application.StartupPath




欲了解更多信息,请点击这里

http://msdn.microsoft.com/en-us/library/system.windows.forms.application.startuppath.aspx [ ^ ]




For more information check here

http://msdn.microsoft.com/en-us/library/system.windows.forms.application.startuppath.aspx[^]