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.
 
Back
Top