功能区控件或RichTextEdit控件如何在另一个中调用按钮操作 [英] Ribbon Control or RichTextEdit Control How to recall the button action in another

查看:106
本文介绍了功能区控件或RichTextEdit控件如何在另一个中调用按钮操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在创建功能区控件。在功能区中,每个工具仅在单击按钮后才会运行。但我需要通过编码来实现。 (即)我需要在加载功能区时显示打印预览。是否可以在另一个事件中调用按钮内置动作?





感谢你。

解决方案

你可以使用button.PerformClick ();

Hi I''m creating Ribbon Control. In Ribbon,Every tools will run only after click the buttons. But i need to implement through coding. (i.e) I Need to show print preview when loading the ribbon. is any possible to recall the button inbuilt action in another Event?


Thanking You.

解决方案

you can use button.PerformClick();


这篇关于功能区控件或RichTextEdit控件如何在另一个中调用按钮操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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