我该如何创建超链接 [英] How Should I Create Hyperlink

查看:110
本文介绍了我该如何创建超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。我从wpf窗口调用winform

2.我想从这个winform创建超链接并将其插入到父窗体的teleriks radrichtextbox(wpf窗口)

3.我尝试使用linklabel但不能成功在winform上创建可链接,我不知道如何在radrichtextbox中插入这个可链接的

4.请告诉我如何实现这个目标?

1. I call winform from wpf window
2. I want to create hyperlink from this winform and insert it into teleriks radrichtextbox of parent form(wpf window)
3. I tried using linklabel but cant succeed as linklable created on winform and i dont know how to insert this linklable in radrichtextbox
4. please tell me how to achieve this ?

推荐答案

您可以像使用按钮一样使用linklabel。在onclicked方法中,您可以编写代码以打开要打开的表单,或者如果表单已经打开,则将表单放在前面。
You can use the linklabel like a button. In the onclicked method, you can write the code to either open the form you want to open, or bring the form to front if it is already been opened.


这篇关于我该如何创建超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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