Button disable and enable

前端 未结 6 2412
北海茫月
北海茫月 2021-02-20 16:35

I have a vb.net based windows application, where when \"GO\" button is clicked a bunch of data is loaded into DB. So in my application as soon as \"GO\" button is clicked I want

6条回答
  •  被撕碎了的回忆
    2021-02-20 17:10

    I just tried disabling a button, Updateing the form, Sleeping, and enabling it again. It still performed the click (A click that was done while it "slept" with the button disabled) after it was enabled.

    I guess forms "remember" clicks.

    (EDIT: I did this in C#.)

提交回复
热议问题