Check if a label has visible property to true.c# winforms -


How to check how a label looks? It is not working ...

  if (labelFS.Visible = false) {do sth} else // labelFS.Visible = true {do ​​other}  <    

Code>, not the assignment operator (a single = ).

By using a single = , you are actually setting the value of labelFS. Visible to incorrect , which hides it.

(there is no need to type true and false .)

  If (labeled F.Visible) // do something else / do something else   

I suggest reading the difference. Here's a beginning ...



Comments

Popular posts from this blog

Android - Facebook GraphUser has no email attribute -

deployment - How to upload Parent child SSIS package to server -

Opencart and VQMOD issue: Could not load controller in vq2-system_engine_controller.php -