D
D
Daniel2020-05-04 11:39:17
C++ / C#
Daniel, 2020-05-04 11:39:17

C# How to use event delegation in windows Form? How to catch the event on the parent element?

Is there any bubbling of events at all?
For example, I create a form of 100 buttons, and I want to process the whole application on one element?
Or in c#, where there are so many features and sugar that you die, the bubbling of events is not implemented?
And the main thing is not to find an answer at all, because of delegate and other keywords.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-05-04
@daniil14056

Redefine the message queue and catch on health. But I did not understand your business task. Explain like an idiot. Here you have a button, clicking on it does not carry a load outside its context.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question