Skip to content

Instantly share code, notes, and snippets.

@takeshik
Created January 29, 2010 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takeshik/289371 to your computer and use it in GitHub Desktop.
Save takeshik/289371 to your computer and use it in GitHub Desktop.
private int _refreshInterval;
public int RefreshInterval
{
get { return _refreshInterval; }
set
{
if (_refreshInterval > 0 && _refreshInterval < 30) _refreshInterval = 30;
_refreshInterval = value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment