Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var    frm    = new AgendamentoForm();
            Medico medico = (Medico)lstMedicos.SelectedItem;

            frm.Show();
            frm.AbrirConsultasMedico(medico);
        }
        private void button3_Click(object sender, EventArgs e)
        {
            var consForm = new AgendamentoForm();

            consForm.Show();
        }