question on visible and hide

  • Thread starter Thread starter Guest
  • Start date Start date
Hi,
Hide() method sets .Visible property to false, so there shouldn't be any
difference.

Andrej
 
Nothing. Hide is implemented like this:

public void Hide()
{
this.Visible = false;
}

/claes
 
what is difference between Hide and visible=false ?

There is no difference. I usually use 'Visible' when dealing with controls
and 'Show'/'Hide' when dealing with forms. However, that's my personal
preference only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top