Ejemplo n.º 1
0
 public void Load()
 {
     while (!Parallel.ForEach <GClass937>(PErkava.AllServersData, new ParallelOptions
     {
         MaxDegreeOfParallelism = 10
     }, new Action <GClass937>(this.method_5)).IsCompleted)
     {
         Thread.Sleep(1);
     }
     GClass931.smethod_1(DateTimeOffset.Now);
     this.LoadingStatus = "Done";
     base.Dispatcher.Invoke(new Action(this.method_0));
 }
Ejemplo n.º 2
0
    private void GClass924_Closed(object sender, EventArgs e)
    {
        System.Windows.Forms.Timer timer = this.timer_0;
        if (timer != null)
        {
            timer.Stop();
        }
        System.Windows.Forms.Timer timer2 = this.timer_0;
        if (timer2 != null)
        {
            timer2.Dispose();
        }
        if (this.gclass931_0 != null)
        {
            this.gclass931_0.method_2(true);
        }
        GClass931 gclass = this.gclass931_0;

        if (gclass == null)
        {
            return;
        }
        gclass.Close();
    }