The question has arisen.
Suppose, there is a form on it 10 buttons.
Is there any possibility to combine these buttons in a single “structure”(union of buttons)?
To be able to work with them in style …
ManyButtons.click += new System.EventHandler(this.button_Click);
I need to catch only the Events, without properties and methods
And most importantly, without arrays.
It’s all about that.
I used
foreachwithoutListin styleThis will help avoid a mad number of rows processing event.
And when I click on Button, my analizer checks this click and acts.