Пример #1
0
 /// <summary>
 /// Generar la vista para el reporte con el codigo html
 /// </summary>
 /// <param name="codeHtml">Code HTML</param>
 public void SetContentHtmlView()
 {
     plantilla                   = new ReportPlantilla();
     plantilla.CodeHtml          = GetHtml;
     ReportViewHtml.DocumentText = plantilla.ReportView;
     ReportViewHtml.Refresh();
 }
Пример #2
0
 /// <summary>
 /// Guardar el conetenido en html para imprimir
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnSave_Click(object sender, EventArgs e)
 {
     ReportViewHtml.ShowSaveAsDialog();
 }
Пример #3
0
 /// <summary>
 /// Imprimir contenido
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnPrint_Click(object sender, EventArgs e)
 {
     ReportViewHtml.ShowPrintPreviewDialog();
 }