如何从文件打开dilogue框中获取文件名以外的数据 [英] How to get data other than filename from a file open dilogue box

查看:93
本文介绍了如何从文件打开dilogue框中获取文件名以外的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编辑fileopen对话框并在文件打开对话框中添加一些自定义字段。例如,与文件名一起,fileopen对话框会询问年龄字段。当用户打开文件时,说出Customerinfo.txt,其中给出了客户的姓名和年龄,并且使用年龄字段信息,程序将对文件打开对话框年龄字段中提供的年龄低于客户的客户的名称进行排序。 />


请任何人帮我这个。



谢谢

I want to edit the fileopen dialog box and add some custom field to the file open dialog box. For an example, along with the file name the fileopen dialog box asks for age field. when a user opens a file say Customerinfo.txt where name and age of a customer is given and with the information of age field the program sorts the name of the customers who are below the age provided in the fileopen dialog box age field.

Please any one help me with this.

Thank you

推荐答案

您必须创建自己的文件打开对话框。

你可以关注这些链接 -



http://stackoverflow.com/questions/7831432/how-to-create-customized-open-file-dialog-in-c-sharp [ ^ ]



http://www.dreamincode.net/forums/topic/123423-how-to-make-a-open-file-dialog-for- a-textbox / [ ^ ]
You have to create your own file open dialog.
you may follow these links-

http://stackoverflow.com/questions/7831432/how-to-create-customized-open-file-dialog-in-c-sharp[^]

http://www.dreamincode.net/forums/topic/123423-how-to-make-a-open-file-dialog-for-a-textbox/[^]


这篇关于如何从文件打开dilogue框中获取文件名以外的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆