コード例 #1
0
 public void StartMonitor(GetServerAction serverFetcher)
 {
     StopMonitor();
     _thread        = new Thread(new ThreadStart(MonitorLoop));
     _serverFetcher = serverFetcher;
     _thread.Start();
 }
コード例 #2
0
 public void StartMonitor(GetServerAction serverFetcher)
 {
     if (Properties.Settings.Default.CheckServerStatus)
     {
         StopMonitor();
         _thread        = new Thread(new ThreadStart(MonitorLoop));
         _serverFetcher = serverFetcher;
         _thread.Start();
     }
     return;
 }