private void txtCpf_KeyUp_1(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F3) { Dispose(); frmPlacaVeiculo fpv = new frmPlacaVeiculo(frmVenda); fpv.ShowDialog(); } }
private void txtCpf_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Escape) { this.Close(); frmVenda.PesquisaUltimoItem(); CancelarVenda(); frmVenda.LimpaCampos(); } if (e.KeyCode == Keys.F3) { Dispose(); frmPlacaVeiculo fpv = new frmPlacaVeiculo(frmVenda); fpv.ShowDialog(); } }