Ejemplo n.º 1
0
        public void btnExport(Relatorio _relatorio)
        {
            var _dataTable = (DataTable)dataGridView1.DataSource;

            Relatorios.FormReport frm = new Relatorios.FormReport(_relatorio, _dataTable);
            frm.ShowInTaskbar = false;
            frm.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btnPrint2_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> _param = new Dictionary <string, string>();

            _param.Add("idTurma", lblCodigo.Text);

            Relatorios.FormReport frm = new Relatorios.FormReport(Relatorio.AlunosPorTurma, null);
            frm.param         = _param;
            frm.ShowInTaskbar = false;
            frm.ShowDialog();
        }
Ejemplo n.º 3
0
        private void btnGerarLista_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> _param = new Dictionary <string, string>();

            _param.Add("idFrequencia", lblCodigo.Text);

            Relatorios.FormReport frm = new Relatorios.FormReport(Relatorio.ListaPresenca, null);
            frm.param         = _param;
            frm.ShowInTaskbar = false;
            frm.ShowDialog();
        }
Ejemplo n.º 4
0
 private void btnDashboard_Click(object sender, EventArgs e)
 {
     Relatorios.FormReport frm = new Relatorios.FormReport(Relatorio.Dashboard, null);
     frm.ShowInTaskbar = false;
     frm.ShowDialog();
 }