public static void Load() { HostsFileAdapter.Write(GetCurrentFilteringSettings()); CustomNotifyIcon.SetupNotificationIcon(); ServiceAdapter.CustomCommend((int)ServiceAdapter.CustomCommends._continue); ServiceAdapter.CustomCommend((int)ServiceAdapter.CustomCommends.startCatchFiles); SetSystemStatus(true); StartDefenceCheck(); }
public static void UpdateAllSettings() { HostsFileAdapter.Write(GetCurrentFilteringSettings()); SchedulePage.Instance.UpdateBlockingMode(); ProblematicAppsBlocker.UpdateBlockedList(); }