private void textBox2_TextChanged(object sender, EventArgs e) { //On text change in 2 do this function if(textBox2.Text != "") { //DO this calculate(); } }