private void bunifuThinButton21_Click(object sender, EventArgs e) { FrmMenuVenta frmCompra = (FrmMenuVenta)Owner; modSesion modSesion = new modSesion(); frmCompra.txtCodigoProducto.Text = Convert.ToString(grilla[0, grilla.CurrentRow.Index].Value); this.Close(); }
private void bunifuThinButton21_Click(object sender, EventArgs e) { FrmMenuVenta frmmenuVenta = (FrmMenuVenta)Owner; frmmenuVenta.txtIdCliente.Text = Convert.ToString(grilla[0, grilla.CurrentRow.Index].Value); frmmenuVenta.txtNombreCliente.Text = Convert.ToString(grilla[1, grilla.CurrentRow.Index].Value); frmmenuVenta.txtCodigoProducto.Focus(); this.Close(); }