Esempio n. 1
0
        private void Nuevo(object sender, EventArgs e)
        {
            frmMiembroNuevo ventanaNuevo = new frmMiembroNuevo(_gMiembros);

            ventanaNuevo.ShowDialog();
            _vMiemb = _gMiembros.GetMiembros();
            Update();
        }
Esempio n. 2
0
        private void Editar(object sender, EventArgs e)
        {
            int             filaSeleccionada = dataGridView1.SelectedCells[0].RowIndex;
            int             codigo           = Convert.ToInt32(this.dataGridView1.Rows[filaSeleccionada].Cells[0].Value.ToString());
            frmMiembroNuevo ventanaEditar    = new frmMiembroNuevo(_gMiembros[codigo], _gMiembros);;

            ventanaEditar.ShowDialog();
            _vMiemb = _gMiembros.GetMiembros();
            Update();
        }