what's a this.Refresh(); in C# ?


what this.refresh()  method used for?

encountered keyword in "a day @ races" program code (first lab in headfirst c# book) used slow down greyhounds in race.

what this.refresh() does?



refresh causes control invalidate, , update (i.e. immediately
repaint itself).

of time invalidate sufficient, , advisable can bunch
of invalidations (either explicit or implicit) , let control repaint
when app idle. advisable use update or refresh when you
want control repaint because app not idle a
user-noticable period of time (quoted http://bytes.com/topic/c-sharp/answers/244445-control-invalidate-vs-control-refresh)

wizend



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'