Esempio n. 1
0
        public PesquisaPacienteForm(PacienteForm pacienteForm)
        {
            InitializeComponent();
            _pacienteForm = pacienteForm;
            List <Patient> patients = _patientDapperRepository.GetAll().ToList();
            List <object>  formated = new List <object>();

            foreach (var patient in patients)
            {
                formated.Add(new
                {
                    CRM  = patient.Cpf,
                    Nome = patient.Name,
                });
            }

            Grid.DataSource = formated;
        }
Esempio n. 2
0
 public ConvenioForm(PacienteForm pacienteForm)
 {
     InitializeComponent();
     _pacienteForm = pacienteForm;
 }
Esempio n. 3
0
        private void PacienteTile_Click(object sender, EventArgs e)
        {
            PacienteForm pacienteForm = new PacienteForm();

            pacienteForm.Show();
        }