Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            fmConsultaPacientes d = new fmConsultaPacientes(ConexionBD);

            if (d.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                tbIDpaciente.Text = d.RecuperarCodigo();
            }
            tbIDpaciente.Focus();
        }
Example #2
0
        private void pacientesToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            fmConsultaPacientes cP = new fmConsultaPacientes(ConexionBD);

            cP.Show();
        }