Ejemplo n.º 1
0
        public ReportParameters getReportParams(bool forceDlg)
        {
            if (_parameters != null && !forceDlg)
            {
                return(_parameters);
            }

            var dlg = new SessionTopicDlg();

            dlg.ShowDialog();

            if (dlg.reportParameters != null)
            {
                Session    = dlg.reportParameters.session.Name;
                Topic      = dlg.reportParameters.topic.Name;
                Discussion = dlg.reportParameters.discussion.Subject;
            }
            else
            {
                Session    = "";
                Topic      = "";
                Discussion = "";
            }

            _parameters = dlg.reportParameters;

            return(_parameters);
        }
Ejemplo n.º 2
0
        public ReportParameters getReportParams(bool forceDlg)
        {
            if (_parameters != null && !forceDlg)
                return _parameters;

            var dlg = new SessionTopicDlg();
            dlg.ShowDialog();

            if (dlg.reportParameters != null)
            {
                Session = dlg.reportParameters.session.Name;
                Topic = dlg.reportParameters.topic.Name;
                Discussion = dlg.reportParameters.discussion.Subject;
            }
            else
            {
                Session = "";
                Topic = "";
                Discussion = "";
            }

            _parameters = dlg.reportParameters;

            return _parameters;
        }