private void txtcodigo_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == Convert.ToChar(Keys.Enter)) { button1.PerformClick(); } if (e.KeyChar == Convert.ToChar(Keys.Escape)) { pagos = new frmpagos(); pagos.ShowDialog(); } fun.solonumeros(e); }
private void poner_null(object sender, FormClosedEventArgs e) { pagos = null; }