コード例 #1
0
 private async Task start()
 {
     
         foreach (var address in Addresses.Text.Split('\n'))
         {
             for (int i = 0; i < int.Parse(Threads.Text); i++)
             {
                 var a = new VizitorControl
                 {
                     DataContext = new VizitorData
                     {
                         Url = address,
                         Interval = int.Parse(Interval.Text) * 1000
                     }
                 };
                 a.Resault += A_Resault;
                 sp.Children.Add(a);
             }
         }
     
    
 }