private void ClienteViewer_Load(object sender, EventArgs e) { RepoteClientes abrir = new RepoteClientes(); abrir.SetDataSource(datos); ClienteViewer.ReportSource = abrir; ClienteViewer.Refresh(); }
private void Imprimirbutton_Click(object sender, EventArgs e) { if (ListaCliente.Count == 0) { MessageBox.Show("Reporte esta vacio"); return; } ClienteViewer clienteViewer = new ClienteViewer(ListaCliente); clienteViewer.Show(); }