private void modificarToolStripMenuItem_Click(object sender, EventArgs e) { var crearcu = new CrearCuenta(iFacade, (AccountDTO)dataGridView1.SelectedRows[0].DataBoundItem); crearcu.Show(); crearcu.FormClosing += new FormClosingEventHandler(Form_FormClosing); }
private void crearToolStripMenuItem_Crear_Click(object sender, EventArgs e) { CrearCuenta crearcu = new CrearCuenta(iFacade); crearcu.Show(); ActualizarTabla(); }