I slightly changed the color of a label on a WinForms app...and broke everything.

Why the fuck would anyone code logic that is dependent on the exact color of a control.

This code is a train wreck.

  • 2
    How else would you define the primary button?
  • 0
    @webapp I'm not saying contextual colors are bad, the issue is when you store application state within the user interface.
  • 3
    @BobbyTables I was being sarcastic, I share your pain, it’s like using classes as selectors for JavaScript manipulation. If I t’s not ment for it, don’t (ab)use it, you’re screwing yourself or the next person sooner or later.
  • 0
    #FACEFACE is a good color code for a button with two faces IMHO
  • 1
    I alwas use #02FACE as background to identify that buttons in the initialisation code...
  • 0
Add Comment