Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Supporter
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 5 votes cast
Dec
28
comment Best Practice for a button that performs multiple actions
@JoelGarfield, I'm not sure what evidence would suffice, but if you've ever opened an old VB6 form where they used one form and just turned a bunch of panels on and off you would realize that building one component, to do one thing, is by far more maintainable and stable. A single button with if or switch statements in the code-behind clearly states that as a button I don't know what I do until I take a look at what I look like right now. But a single button, that does something, well it clearly ... does something.