How to detect when text in a TextBox has changed with WinForms in C#

1 Answer

0 votes
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            MessageBox.Show("textBox1_TextChanged");
        }
    }
}




/*
run:
 

  
*/

 



answered Jan 4, 2024 by avibootz

Related questions

1 answer 166 views
1 answer 142 views
1 answer 190 views
1 answer 156 views
1 answer 130 views
...