private void FormAdministradors_Activated(object sender, EventArgs e) { if (verdadero) { bindingSourceAdministradors.DataSource = AdministradorsORM.SelectAllAdministradors(); verdadero = false; } }
private void FormAdministradors_Load(object sender, EventArgs e) { Reloj.Start(); pictureBox7.Select(); bindingSourceAdministradors.DataSource = AdministradorsORM.SelectAllAdministradors(); }
private void buttonEliminar_Click(object sender, EventArgs e) { eliminar(); verdadero = true; bindingSourceAdministradors.DataSource = AdministradorsORM.SelectAllAdministradors(); }