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

            frm.Show();
            frm.AbrirConsultasMedico(medico);
        }
コード例 #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            var consForm = new AgendamentoForm();

            consForm.Show();
        }