예제 #1
0
        // - - - - - - - - - - - - - - - - - - - - - Abre opcion NUEVA entidad
        private void nuevoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SociosForm frm = new SociosForm(new USUARIOS());

            frm.ShowDialog();
            loadDataToGrid();
        }
예제 #2
0
 // - - - - - - - - - - - - - - - - - - - - - Abre opcion MODIFICA entidad
 private void modificarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dataGridViewListaSocios.CurrentRow != null && dataGridViewListaSocios.CurrentRow.Index >= 0)
     {
         USUARIOS   entidad = (USUARIOS)dataGridViewListaSocios.CurrentRow.DataBoundItem;
         SociosForm frm     = new SociosForm(entidad);
         frm.ShowDialog();
         loadDataToGrid();
     }
 }