private void txtProducto_Click(object sender, EventArgs e) { FrmTeclado frm = new FrmTeclado(); frm.txtTexto.Text = txtProducto.Text; frm.ShowDialog(); txtProducto.Text = frm.txtTexto.Text; }
private void txt_cod_Click(object sender, EventArgs e) { if (ConTeclado == true) { f.txtTexto.Text = ""; f.ShowDialog(); TextBox texto = sender as TextBox; texto.Text = f.txtTexto.Text; } }