Exemplo n.º 1
0
        public virtual void FillTemplate(template_Class p_Template)
        {

        }
        public override void FillTemplate(template_Class p_template)
        {

            if (reportinfo_RichTextBox.Rtf == "")
            {
                reportinfo_RichTextBox.Rtf = p_template.template_describle;
            }
            else
            {
                reportinfo_RichTextBox.AppendItemText("\r\n" + p_template.template_describle, true);
            }
            if (reportend_RichTextBox.Rtf == "")
            {
                reportend_RichTextBox.Rtf = p_template.template_diag;
            }
            else
            {
                reportend_RichTextBox.AppendItemText("\r\n" + p_template.template_diag, true);
            }
        }