向控件中添加新属性以打开新表单? [英] Adding a new property to a control which opens a new form?

查看:87
本文介绍了向控件中添加新属性以打开新表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们有一个使用Active Reports的报表设计器项目.
我们要使用活动报告的SubReport工具.
子报表控件具有报表"属性,该属性填充子报表的ActiveReport内容.
由于我们有一个设计器项目和一个SubReport工具,
我想向SubReport控件添加一个属性,该属性将打开一个新窗体,该窗体使用户可以从列表中选择报告并将报告加载到SubReport控件中.

那么,如何为打开新的Windows窗体的控件添加属性?

在此先感谢

Hi,

We have a report designer project which uses Active Reports.
We want to use SubReport tool of the Active Reports.
Subreport control has a "report" property which fills the ActiveReport content of the Subreport.
Since we have a designer project and a SubReport tool,
I want to add a property to the SubReport control which opens a new form that enables user to choose a report from the list and load report into the SubReport control.

So how can I add a property to a control which opens a new windows form?

Thanks in advance

推荐答案

嗨...

您需要使用该控件创建用户控件,然后才能定义新属性.
Hi...

You need to create user control with that control, then you can define new properties.


这篇关于向控件中添加新属性以打开新表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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