public MainWindow() { InitializeComponent(); CheckIntConection.CheckInternetConection(); SynchronizationContext uiContext = SynchronizationContext.Current; Thread thread = new Thread(Run); thread.Start(uiContext); }
private void TryAgain(object sender, RoutedEventArgs e) { CheckIntConection.CheckInternetConection(); this.Close(); }