I pass the db key to form2 and loading data on form2 via data binding.
Question: How can I use the TextChanged event (for data editing) on text boxes without triggering that event at form2 Load Event time (or Activate form time)?
You probably will not be able to suppress the event, however you can set a Boolean member within Form2 after data is bound to the TextBox and only allow the behavior implemented in TextChanged to run when this Boolean is set to true.
Dig Deeper on Win Development Resources
Related Q&A from Samuel Matzen
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.