如何改变StimulsoftReports.Net中WinForms设计器默认面板布局

作者:mayz    来源:慧都控件网    浏览:Loading...      日期:2012-10-12

问题描述:

如何改变StimulsoftReports.Net中WinForms设计器默认面板布局

问题解答:

要更改StimulsoftReports.Net WinForms设计器默认的面板布局,只需在services container中更改即可,请看下面的示例:

[C#]

Stimulsoft.Report.Design.Panels.StiDictionaryPanelService dict = Stimulsoft.Report.Design.Panels.StiDictionaryPanelService.GetService();
Stimulsoft.Report.Design.Panels.StiPropertiesPanelService props = Stimulsoft.Report.Design.Panels.StiPropertiesPanelService.GetService();
Stimulsoft.Report.Design.Panels.StiReportTreePanelService reportTree = Stimulsoft.Report.Design.Panels.StiReportTreePanelService.GetService();

Stimulsoft.Report.StiConfig.Load();
Stimulsoft.Report.StiConfig.Services.Remove(dict);
Stimulsoft.Report.StiConfig.Services.Remove(props);
Stimulsoft.Report.StiConfig.Services.Remove(reportTree);

Stimulsoft.Report.StiConfig.Services.Add(dict);
Stimulsoft.Report.StiConfig.Services.Add(props);
Stimulsoft.Report.StiConfig.Services.Add(reportTree);

 

Tag标签:.Net报表 Stimulsoft Reports.Net 

本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:Stimulsoft中文网 [http://www.Stimulsoft.cn/]
本文地址: http://www.Stimulsoft.cn/Resources/FAQ/107.html

上一篇: Stimulsoft Reports.Net报表输出PDF时中文出现乱码

下一篇: 如何隐藏StimulsoftReports.Net报表设计器工具箱的组件