如何从对话框表单中返回值 [英] How to return values from dialog form
本文介绍了如何从对话框表单中返回值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我构建的Windows应用程序会在收到文件时弹出用户,因此我需要将保存的文件路径返回到主窗体,以便开始写入文件.
如果您以正确的方式为我提供建议,我将不胜感激.
感谢和BR ..
Hi
I building windows an application that will pop-up the user when there is file received, so I need to return the saved file path to the main form in order to start writing into the file.
I will be grateful if you advice me with the right way to do so.
Thanks and BR..
推荐答案
查看此处: ^ ].
MSDN: OpenFileDialog-Class [
See here: http://www.dotnetspider.com/resources/16578-Getting-file-path-using-open-file-dialog-control.aspx[^].
MSDN: OpenFileDialog-Class[^]
Cheers!
-MRB
这篇关于如何从对话框表单中返回值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文