Example #1
0
        public MainWindow()
        {
            InitializeComponent();
            CheckIntConection.CheckInternetConection();
            SynchronizationContext uiContext = SynchronizationContext.Current;
            Thread thread = new Thread(Run);

            thread.Start(uiContext);
        }
Example #2
0
 private void TryAgain(object sender, RoutedEventArgs e)
 {
     CheckIntConection.CheckInternetConection();
     this.Close();
 }