简体   繁体   English

OpenFileDialog C#显示自定义文本

[英]OpenFileDialog C# show custom text

Hi I am working on an Application using .net 4.5. 嗨,我正在使用.net 4.5开发应用程序。 What i need now is in an OpenFileDialog i need to show some custom text or hint message to the user. 我现在需要的是在OpenFileDialog中,我需要向用户显示一些自定义文本或提示消息。

In C++ structure there is something called "lpTemplateName " on setting this to whatever text that text will be displayed in File dialog. 在C ++结构中,将其设置为将在“文件”对话框中显示的任何文本时,都有一个名为"lpTemplateName "东西。

How can we do this in C#? 我们如何在C#中做到这一点? any pointers is greatly appreciated 任何指针,不胜感激

您可以参考此链接以了解操作方法: 单击我

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM