Files
wj32 7bd28e4357 moved branches, tags, trunk to 1.x branch
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-25 02:22:46 +00:00

37 lines
981 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace ProcessHacker
{
public static class Settings
{
public static void Refresh()
{
RefreshInterval = Properties.Settings.Default.RefreshInterval;
ShowAccountDomains = Properties.Settings.Default.ShowAccountDomains;
}
private static int _refreshInterval;
public static int RefreshInterval
{
get { return _refreshInterval; }
set
{
Properties.Settings.Default.RefreshInterval = _refreshInterval = value;
}
}
private static bool _showAccountDomains;
public static bool ShowAccountDomains
{
get { return _showAccountDomains; }
set
{
Properties.Settings.Default.ShowAccountDomains = _showAccountDomains = value;
}
}
}
}