Seal.Forms.ReportViewerForm.ReportViewerForm C# (CSharp) Method

ReportViewerForm() public method

public ReportViewerForm ( bool exitOnClose, bool showScriptErrors ) : System
exitOnClose bool
showScriptErrors bool
return System
        public ReportViewerForm(bool exitOnClose, bool showScriptErrors)
        {
            InitializeComponent();

            ShowIcon = true;
            Icon = Repository.ProductIcon;

            webBrowser.ScriptErrorsSuppressed = !showScriptErrors;
            _exitOnClose = exitOnClose;
        }