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 158 views
1 answer 132 views
1 answer 179 views
1 answer 148 views
1 answer 123 views
...