private void btnaddproduto_Click(object sender, EventArgs e) { txtcodprop.Focus(); frmProdutos frep = new frmProdutos(this); frep.Show(); }
private void frmVenda_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F2) { frmProdutos frep = new frmProdutos(this); frep.Show(); } }