private void btnBusColor_Click(object sender, EventArgs e) { FrmColor_qry frmp = new FrmColor_qry(); frmp.pasard += new FrmColor_qry.pasar(ejecutarColor); frmp.ShowDialog(); txtIdColor.Focus(); }
private void txtIdColor_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F1) { FrmColor_qry frmp = new FrmColor_qry(); frmp.pasard += new FrmColor_qry.pasar(ejecutarColor); frmp.ShowDialog(); txtIdColor.Focus(); } }