示例#1
0
        private void txtCpf_KeyUp_1(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F3)
            {
                Dispose();

                frmPlacaVeiculo fpv = new frmPlacaVeiculo(frmVenda);
                fpv.ShowDialog();
            }
        }
示例#2
0
        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();
            }
        }