Exemplo n.º 1
0
        private void BtnPrint_Click(object sender, EventArgs e)
        {
            LogicaOrden enlace = new LogicaOrden();

            Dictionary <int, Examen> examenes = new Dictionary <int, Examen>();
            Orden orden = ordenes[(int)ComboBoxOrden.SelectedValue];

            foreach (DataGridViewRow r in DGVExamen.SelectedRows)
            {
                examenes.Add((int)r.Cells[1].Value, examenesGeneral[(int)r.Cells[1].Value]);
            }
            Impresora printer = new Impresora();

            printer.ContruirVistaPreviaExamenPaciente(orden, examenes);
        }