private void textBox1_TextChanged(object sender, EventArgs e) { if (Convert.ToInt32(textBox1.Text.Trim()).Equals(0)) { this.textBox1.Text = Convert.ToString(0) ; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)