Avoiding unnecessary events and infinite loop in “coupled” JSliders?

前端 未结 4 1393
余生分开走
余生分开走 2020-12-21 05:50

I have a GUI that is issuing commands to a web server based on slider values. Some of these sliders are \"coupled\" on the web server, so changing one of them may also chang

4条回答
  •  我在风中等你
    2020-12-21 06:21

    The standard model used in .Net WPF is to fire an event only if value of the property has changed! In your case it is setValue() method.

提交回复
热议问题