Click here to Skip to main content
15,118,865 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: Why is my code so slow?? Pin
SortaCore1-Oct-13 11:58
MemberSortaCore1-Oct-13 11:58 
GeneralRe: Why is my code so slow?? Pin
Bernhard Hiller25-Sep-13 22:45
MemberBernhard Hiller25-Sep-13 22:45 
GeneralNot really a question of how-do-I... Pin
SortaCore23-Sep-13 0:41
MemberSortaCore23-Sep-13 0:41 
GeneralRe: Not really a question of how-do-I... Pin
lw@zi 23-Sep-13 1:45
professional lw@zi 23-Sep-13 1:45 
GeneralRe: Not really a question of how-do-I... Pin
OriginalGriff23-Sep-13 1:51
mveOriginalGriff23-Sep-13 1:51 
GeneralRe: Not really a question of how-do-I... Pin
Member 205300623-Sep-13 2:01
MemberMember 205300623-Sep-13 2:01 
QuestionRe: Not really a question of how-do-I... Pin
Eddy Vluggen23-Sep-13 4:40
professionalEddy Vluggen23-Sep-13 4:40 
GeneralRe: Not really a question of how-do-I... Pin
Suvabrata Roy23-Sep-13 4:26
professionalSuvabrata Roy23-Sep-13 4:26 
C#
if (e.KeyCode == Keys.Up)
{
    bool focused = logicalTabs ? tabs_General1.cbException.Focused : tabs_General1.cbJobStatus.Focused;
    if(focused )
    {
    // Your Logic
    }
}


I think it would be also a choice... Smile | :)
Life is all about share and care...

public class Life : ICareable,IShareable
{
// implements yours...
}

GeneralRe: Not really a question of how-do-I... Pin
Dan Neely24-Sep-13 3:57
MemberDan Neely24-Sep-13 3:57 
GeneralRe: Not really a question of how-do-I... Pin
0bx24-Sep-13 5:07
Member0bx24-Sep-13 5:07 
GeneralRe: Not really a question of how-do-I... Pin
PIEBALDconsult24-Sep-13 16:37
professionalPIEBALDconsult24-Sep-13 16:37 
GeneralRe: Not really a question of how-do-I... Pin
Brisingr Aerowing10-Oct-13 10:21
professionalBrisingr Aerowing10-Oct-13 10:21 
GeneralRe: Not really a question of how-do-I... Pin
BuggyTimes25-Sep-13 4:38
MemberBuggyTimes25-Sep-13 4:38 
GeneralAnyone see the problem here? Pin
Mardy Git19-Sep-13 23:50
MemberMardy Git19-Sep-13 23:50 
GeneralRe: Anyone see the problem here? Pin
BotCar19-Sep-13 23:57
MemberBotCar19-Sep-13 23:57 
GeneralRe: Anyone see the problem here? Pin
Sentenryu20-Sep-13 3:30
MemberSentenryu20-Sep-13 3:30 
GeneralRe: Anyone see the problem here? Pin
BotCar20-Sep-13 3:51
MemberBotCar20-Sep-13 3:51 
GeneralRe: Anyone see the problem here? Pin
Argonia20-Sep-13 0:50
professionalArgonia20-Sep-13 0:50 
GeneralRe: Anyone see the problem here? Pin
Mardy Git20-Sep-13 0:56
MemberMardy Git20-Sep-13 0:56 
GeneralRe: Anyone see the problem here? Pin
Richard Deeming20-Sep-13 3:01
mveRichard Deeming20-Sep-13 3:01 
GeneralRe: Anyone see the problem here? Pin
PIEBALDconsult21-Sep-13 1:44
professionalPIEBALDconsult21-Sep-13 1:44 
GeneralRe: Anyone see the problem here? Pin
Bernhard Hiller22-Sep-13 23:17
MemberBernhard Hiller22-Sep-13 23:17 
GeneralStoopid me Pin
Marco Bertschi16-Sep-13 5:56
professionalMarco Bertschi16-Sep-13 5:56 
GeneralRe: Stoopid me Pin
Nicholas Marty16-Sep-13 6:29
professionalNicholas Marty16-Sep-13 6:29 
GeneralRe: Stoopid me Pin
Marco Bertschi16-Sep-13 6:32
professionalMarco Bertschi16-Sep-13 6:32 

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.