>>>Any way to do this in C# like VFP's IIF()?
>>>
>>>
>>>if (Checked)
>>>{
>>> _CheckItemsCount++;
>>>}
>>>else
>>>{
>>> _CheckItemsCount--;
>>>}
>>>
>>
>>
_CheckItemsCount += (Checked) ? 1 : -1;
Cetin
>
>For lurkers, here's a VB .net example
>
>Dim isYes as Boolean
>isYes = If(mystr = "yes", True, False)
>
>( Izmir'de ilk bahar nasil ? )
Ilkbahari daha goremedik, "Mart kapidan baktirir kazma kurek yaktirir" :) Still under 65 Fahrenheit
Cetin