How can I get and set properties from objects in form on InfoPath 2007? For example, I want set Text property of TextBox after clicking button.
using Microsoft.Office.InfoPath;
using System;
using System.Xml;
using System.Xml.XPath;namespace Script
{
public partial class FormCode
{public void InternalStartup() ...