winforms - Disabling a control from receiving a event in C# -


There is a dialog with my control load each and AAV control loading The sequence will be populated and it can take some time to fill it completely. Whereas, I mean, no want the user to click on any control. In other words, I want to disable control by getting events and I do not want to disable control (as it may sound strange). Apart from this, I do not want to subscribe and unsubscribe regularly for the event. Is there a way to stop the control from listening to events for a brief time ??

Sudarshan Srinivasan

The whole point of disabling control is to communicate with the user that Control can not be used at any particular time. This is a conference that users have learned and used, so I would recommend to follow them. Not doing this can confuse users.

The easiest way is to disable the container in which controls are located, instead of disabling each control, a better method (or at least the way I like it) should be a method that Controlling the properties of visible and enabled controls, which have a UI.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -