How to detect changes in any control of the form?

后端 未结 3 2562

How can I detect changes in any control of the form in C#?

As I have many controls on one form and i need to disable a button if any of the control value in the form ch

3条回答
  •  名媛妹妹
    2021-02-20 18:25

    Simply select the components that will have common handler and in the events property bar double click to event that you want to occur. This common method will be added automatically to all control's handlers.

提交回复
热议问题