Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF conditional coding
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01046886
Message ID:
01046920
Views:
15
Hi,
>>
           if (this.titleCheckBox.Checked = true)
            {
                this.titleLabel.Visible = true;
            }
            else
            {
                this.titleLabel.Visible = false;
            }
>>
Why not just
this.titleLabel.Visible = this.titleCheckBox.Checked
or am I missing something obvious?
Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform