int num = 0;
if (num == (Convert.ToInt32(textBox1.Text.ToString())) { timer1.Enabled = false; //Ещё что то... } else { //отправляем пост запрос }