private void frmGeneralReport_Load(object sender, EventArgs e)
{
frmReportParaIn reportParaIn = new frmReportParaIn(4);
reportParaIn.GenerateReport += new CloseAndSubmitReportParametersHandler(GenerateReport);
reportParaIn.ShowDialog();
}
{
frmReportParaIn reportParaIn = new frmReportParaIn(4);
reportParaIn.GenerateReport += new CloseAndSubmitReportParametersHandler(GenerateReport);
reportParaIn.ShowDialog();
}
这段代码展示了在窗体加载事件中初始化报告参数输入界面的过程。通过创建一个名为frmReportParaIn的实例并设置其GenerateReport事件处理器,然后显示对话框来收集用户输入的报告参数。
796

被折叠的 条评论
为什么被折叠?



