winforms - C# Many Buttons -


the question has arisen.

suppose, there form on 10 buttons. there possibility combine these buttons in single "structure"(union of buttons)? able work them in style ...

manybuttons.click += new system.eventhandler(this.button_click);

i need catch events, without properties , methods

and importantly, without arrays.

personally, tackle adding buttons list , doing foreach on list.

that is, unless there particular reason otherwise?


Comments

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

Java - Returning an array from a method to main -