Ejemplo n.º 1
0
 public static void Update_ui()
 {
     while (true)
     {
         try
         {
             form.Invoke((MethodInvoker) delegate { form.labelGold.Text = Convert.ToString(Get.Gold_s()); });
             form.Invoke((MethodInvoker) delegate { form.labelRubles.Text = Convert.ToString(Get.Rubles()); });
             form.Invoke((MethodInvoker) delegate { form.labelExpedition.Text = Convert.ToString(Get.Points_expedition()); });
             form.Invoke((MethodInvoker) delegate { form.labelDungeon.Text = Convert.ToString(Get.Points_dungeon()); });
             form.Invoke((MethodInvoker) delegate { form.labelLevel.Text = Convert.ToString(Get.Level()); });
             form.Invoke((MethodInvoker) delegate { form.labelProgress.Text = Convert.ToString(Get.Progress()); });
         } catch { }
     }
 }