有没有办法在用户注销应用程序后隐藏整个Crystal Report Viewer(打印预览/ .rpt),并在用户重新登录后取消隐藏它?它是使用以下代码在其他线程上创建的,而FormReportViewer是Crystal Report Viewer。
<STAThread()>
Private Sub Rpt1()
Dim f1 as FormReportViewer = New FormReportViewer
rptName = rptPath & "ReportName.rpt"
f1.Text = "Report"
f1.Tag = rptName
Application.Run(f1)
End Sub
谢谢