public void StartMonitor(GetServerAction serverFetcher) { StopMonitor(); _thread = new Thread(new ThreadStart(MonitorLoop)); _serverFetcher = serverFetcher; _thread.Start(); }
public void StartMonitor(GetServerAction serverFetcher) { if (Properties.Settings.Default.CheckServerStatus) { StopMonitor(); _thread = new Thread(new ThreadStart(MonitorLoop)); _serverFetcher = serverFetcher; _thread.Start(); } return; }