private void btnReiniciar_Click(object sender, EventArgs e) { s = new Entidades.Sistema(); s.principal(); oBinding.DataSource = s.tablaDeReporte; this.dataGridView1.DataSource = oBinding.DataSource; this.updateLabels(); s = null; }
private void btnReiniciar_Click(object sender, EventArgs e) { s = new Entidades.Sistema(); s.principal(); oBinding.DataSource = s.tablaDeReporte; this.dataGridView1.DataSource = oBinding.DataSource ; this.updateLabels(); s = null; }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { s = null; oBinding = null; this.dataGridView1.DataSource = null; }