Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF conditional coding
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01046886
Message ID:
01046920
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform