Beispiel #1
0
        private void mnAgregar_Click(object sender, EventArgs e)
        {
            Agregar frmAgregar = new Agregar();

            frmAgregar.Show();
            this.Hide();
        }
Beispiel #2
0
        private void llenarCbbModDiagnostico()
        {
            Agregar frmAgregar = new Agregar();

            for (int i = 0; i < frmAgregar.dgvAgregarDiagn.Rows.Count - 1; i++)
            {
                //MessageBox.Show(dgvAgregarDiagn.Rows[i].Cells[0].Value.ToString());
                cbbModDiagnostico.Items.Add(frmAgregar.dgvAgregarDiagn.Rows[i].Cells[0].Value.ToString());
            }
        }