Click here to Skip to main content
15,746,758 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: What happens when it fails... Pin
mateotrek18-Aug-09 19:14
mateotrek18-Aug-09 19:14 
GeneralHow to determine if button should be shown? Pin
Jarek Kruza23-Jul-09 1:52
Jarek Kruza23-Jul-09 1:52 
GeneralRe: How to determine if button should be shown? Pin
Ian Shlasko23-Jul-09 3:11
Ian Shlasko23-Jul-09 3:11 
GeneralRe: How to determine if button should be shown? Pin
David Skelly23-Jul-09 4:41
David Skelly23-Jul-09 4:41 
GeneralRe: How to determine if button should be shown? Pin
Nagy Vilmos23-Jul-09 7:33
professionalNagy Vilmos23-Jul-09 7:33 
GeneralRe: How to determine if button should be shown? Pin
Luc Pattyn23-Jul-09 8:50
sitebuilderLuc Pattyn23-Jul-09 8:50 
GeneralRe: How to determine if button should be shown? Pin
Jarek Kruza26-Jul-09 9:39
Jarek Kruza26-Jul-09 9:39 
JokeRe: How to determine if button should be shown? PinPopular
Chris Maunder26-Jul-09 3:17
cofounderChris Maunder26-Jul-09 3:17 
What an idiot. Clearly he should have done.
button37.Visible = textBox39.BackColor == Color.White && textBox40.BackColor == Color.PapayaWhip;


cheers,
Chris Maunder

The Code Project Co-founder
Microsoft C++ MVP

GeneralRe: How to determine if button should be shown? Pin
Jarek Kruza26-Jul-09 9:37
Jarek Kruza26-Jul-09 9:37 
GeneralRe: How to determine if button should be shown? Pin
BillW3314-Aug-09 2:57
professionalBillW3314-Aug-09 2:57 
GeneralRe: How to determine if button should be shown? Pin
Paul Conrad26-Jul-09 11:04
professionalPaul Conrad26-Jul-09 11:04 
GeneralRe: How to determine if button should be shown? Pin
supercat928-Jul-09 6:21
supercat928-Jul-09 6:21 
GeneralRe: How to determine if button should be shown? Pin
SteveTheThread2-Aug-09 22:34
SteveTheThread2-Aug-09 22:34 
GeneralRe: How to determine if button should be shown? Pin
Tristan Rhodes3-Aug-09 0:56
Tristan Rhodes3-Aug-09 0:56 
GeneralRe: How to determine if button should be shown? Pin
supercat93-Aug-09 5:14
supercat93-Aug-09 5:14 
GeneralRe: How to determine if button should be shown? Pin
Tristan Rhodes3-Aug-09 0:57
Tristan Rhodes3-Aug-09 0:57 
General!(How to best use a try catch block) [modified] Pin
singh.iz.king8-Jul-09 17:17
singh.iz.king8-Jul-09 17:17 
GeneralRe: !(How to best use a try catch block) Pin
killabyte9-Jul-09 0:38
killabyte9-Jul-09 0:38 
GeneralRe: !(How to best use a try catch block) Pin
josda10009-Jul-09 3:31
josda10009-Jul-09 3:31 
GeneralRe: !(How to best use a try catch block) Pin
Dan Neely9-Jul-09 3:43
Dan Neely9-Jul-09 3:43 
GeneralRe: !(How to best use a try catch block) Pin
molesworth9-Jul-09 3:39
molesworth9-Jul-09 3:39 
GeneralRe: !(How to best use a try catch block) Pin
Andrew Rissing9-Jul-09 3:51
Andrew Rissing9-Jul-09 3:51 
GeneralRe: !(How to best use a try catch block) Pin
molesworth9-Jul-09 5:42
molesworth9-Jul-09 5:42 
GeneralRe: !(How to best use a try catch block) Pin
singh.iz.king9-Jul-09 12:58
singh.iz.king9-Jul-09 12:58 
GeneralRe: !(How to best use a try catch block) Pin
0x3c09-Jul-09 5:42
0x3c09-Jul-09 5:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.