mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
7bd28e4357
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
37 lines
981 B
C#
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;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|