如何检查是否在asp.net stimulsoft中打印报告

时间:2015-11-02 07:14:13

标签: c# asp.net report stimulsoft

我从stimulsoft论坛获取此代码,我想在asp.net中做同样的事情,相当于网络中的DialogResult.OK?

private void report_Printing(object sender, EventArgs e) 
    { 
        StiReport report = sender as StiReport; 
        if ((report.PrinterSettings.PrintDialogResult == DialogResult.OK)) 
        { 
            MessageBox.Show("Printing"); 
        } 
        stiVewForm.Close();            
    }

0 个答案:

没有答案