Click here to Skip to main content
15,903,856 members
Home / Discussions / C#
   

C#

 
GeneralRe: simple grafics problem Pin
rzvme2-Nov-06 20:50
rzvme2-Nov-06 20:50 
QuestionIs this a bug in .NET 2.0? Pin
adfgh752-Nov-06 2:02
adfgh752-Nov-06 2:02 
AnswerRe: Is this a bug in .NET 2.0? Pin
sam#2-Nov-06 2:35
sam#2-Nov-06 2:35 
AnswerRe: Is this a bug in .NET 2.0? Pin
Michael P Butler2-Nov-06 2:53
Michael P Butler2-Nov-06 2:53 
GeneralRe: Is this a bug in .NET 2.0? Pin
adfgh752-Nov-06 3:54
adfgh752-Nov-06 3:54 
Questionif statement Pin
fmardani2-Nov-06 1:57
fmardani2-Nov-06 1:57 
AnswerRe: if statement Pin
sam#2-Nov-06 2:16
sam#2-Nov-06 2:16 
AnswerRe: if statement Pin
J4amieC2-Nov-06 2:20
J4amieC2-Nov-06 2:20 
firstly I think youve made a typo (either in your code or in transposing it to a post)


fmardani wrote:
if (!(intPosHomeUS > 0 && intPosHomeUK > 0) || (intPosHomeUK > 0 && intPosHostUS > 0))


should that be

if (!(intPosHomeUS > 0 && intPosHomeUK > 0) || (intPosHostUK > 0 && intPosHostUS > 0))


if not, and its correct, I could break down the code as

if(! (false && true) || (true && true))

breaks down further as

if( ! (false || true) )

and once more as

if(!true)

so

!true == false

so your message box will not show.



GeneralRe: if statement Pin
eggsovereasy2-Nov-06 3:30
eggsovereasy2-Nov-06 3:30 
GeneralRe: if statement Pin
J4amieC2-Nov-06 3:39
J4amieC2-Nov-06 3:39 
GeneralRe: if statement Pin
Andrew Rissing2-Nov-06 3:43
Andrew Rissing2-Nov-06 3:43 
GeneralRe: if statement Pin
Dan Neely2-Nov-06 4:11
Dan Neely2-Nov-06 4:11 
AnswerRe: if statement Pin
Guffa2-Nov-06 4:37
Guffa2-Nov-06 4:37 
AnswerRe: if statement Pin
ednrgc2-Nov-06 6:23
ednrgc2-Nov-06 6:23 
QuestionKeys shortcuts problem Pin
Tavbi2-Nov-06 1:19
Tavbi2-Nov-06 1:19 
AnswerRe: Keys shortcuts problem Pin
luckykhalid2-Nov-06 1:29
luckykhalid2-Nov-06 1:29 
GeneralRe: Keys shortcuts problem Pin
Martin#2-Nov-06 1:31
Martin#2-Nov-06 1:31 
GeneralRe: Keys shortcuts problem Pin
Tavbi3-Nov-06 1:21
Tavbi3-Nov-06 1:21 
GeneralRe: Keys shortcuts problem Pin
Tavbi3-Nov-06 1:28
Tavbi3-Nov-06 1:28 
AnswerRe: Keys shortcuts problem Pin
Martin#7-Nov-06 1:32
Martin#7-Nov-06 1:32 
GeneralRe: Keys shortcuts problem Pin
Tavbi8-Nov-06 4:15
Tavbi8-Nov-06 4:15 
QuestionLinq - Problems with conversion [modified] Pin
Storme2-Nov-06 1:05
Storme2-Nov-06 1:05 
AnswerRe: Linq - Problems with conversion Pin
ednrgc2-Nov-06 6:27
ednrgc2-Nov-06 6:27 
GeneralRe: Linq - Problems with conversion Pin
Storme2-Nov-06 6:52
Storme2-Nov-06 6:52 
GeneralRe: Linq - Problems with conversion Pin
ednrgc2-Nov-06 6:55
ednrgc2-Nov-06 6:55 

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.