如何在C#中添加按钮后面的文本或世界文件?还有谁可以在C#中添加链接? [英] How Can I Add A Text Or World File Behind The Button In C#? And Also Who Can Add Link In C#?

查看:60
本文介绍了如何在C#中添加按钮后面的文本或世界文件?还有谁可以在C#中添加链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个项目并且有帮助按钮然后我可以在帮助按钮后面添加帮助文档吗?

解决方案

如果你只是想在用户设置为默认的任何编辑器中打开文件,只需从按钮单击处理程序中调用Process.Start(yourfile_full_name_with_path) - 当然,如果文件与exe不在同一目录中,则必须知道该文件的位置。

I am working on a project and there is help button then who can i add the help document behind the help button??

解决方案

If you just want to open the file in whatever editor your users have set as default, simply call Process.Start(yourfile_full_name_with_path) from your button click handler - you of course have to know where the file is if it isn't in the same directory as your exe.


这篇关于如何在C#中添加按钮后面的文本或世界文件?还有谁可以在C#中添加链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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