private string _formHeight; public string FormHeight { get { return _formHeight; } set { _formHeight = value; } } public Form1() { InitializeComponent(); this.FormHeight = "Yowza!!!"; label2.DataBindings.Add( new Binding("Text", this, "FormHeight")); } private void button2_Click(object sender, System.EventArgs e) { this.FormHeight = "what you gonna do?"; MessageBox.Show(this.FormHeight); // shows "what you gonna do?" }>Yep, you can bind to a property ... but make sure it's a public *property* (with a get/set) and not simply a field (public or otherwise).
>MyTextBox.DataBindings.Add("Text", this, "MyProperty"); >>