首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
c#中控制textBox中text值改变而不触发textchanged事件
c#中控制textBox中text值改变而不触发textchanged事件
it
2025-11-18
7
先解开事件处理 然后赋值 然后重新绑事件处理
this
.
textBox1
.
TextChanged
-
=
new
EventHandler
(
textBox1_TextChanged
)
;
this
.
textBox1
.
Text
=
""
;
this
.
textBox1
.
TextChanged
+
=
new
EventHandler
(
textBox1_TextChanged
)
;
转载请注明原文地址: https://lol.8miu.com/read-31614.html
最新回复
(
0
)