在LS中创建报告菜单结构 [英] Creating report menu structure in LS

查看:61
本文介绍了在LS中创建报告菜单结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的LS项目有几个仅用于报告的输出屏幕,我希望将它们放在单独的报告菜单下.目前,我在主屏幕/开始屏幕上将它们作为命令使用,但是每个报告都是不同的命令.任何想法如何 为命令的LS应用程序创建菜单结构?每个报告都有一个参数(子ID),所以我不能在左侧导航菜单上使用这些参数.

My LS project has several output screens that are for report-only and I'd like to have these in under a separate report menu.  Currently I have them as commands from my main/start screen, but each report is a different command.  Any idea how to create a menu structure for a LS app for the commands?  Each report has a paramater (the child ID) so I can't have these on the left hand nav menu

推荐答案

hi!

您可以创建虚拟屏幕来启动报告,然后在< screen> _run方法中,可以使用参数调用报告屏幕,请查看本文以了解主意:

you can create dummy screens for starting your reports, then in <screen>_run method you can call your report screen with parameter, check this article to get idea:

http://code.msdn.microsoft.com/windowsdesktop/Add-URL-To-LightSwitchs-0f74eef4


Private Sub Dummy_Run(ByRef handled As Boolean)
            ' Set handled to 'true' to stop further processing.
            Application.Current.ShowDashboard()
            handled = True
        End Sub


这篇关于在LS中创建报告菜单结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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