Exemplo n.º 1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     _timer.Elapsed        += _timer_Elapsed;
     _tmrCountdown.Elapsed += _tmrCountdown_Elapsed;
     foreach (Server srv in serversArgs)
     {
         _monitor.Add(srv);
     }
     _monitor.Refresh();
     DataContext = _monitor.ServerList;
     _tmrCountdown.Start();
     _timer.Start();
 }