Esempio n. 1
0
File: Form1.cs Progetto: Crwth/UOnet
 private void btn_start_Click(object sender, EventArgs e)
 {
     UO.Open(1);
     if (Started)
     {
         myScript.Stop();
         Started = false;
     }
     else
     {
         myScript = new Mining();
         myScript.Start(this, UO, Proxy);
         Started = true;
     }
 }
Esempio n. 2
0
File: Form1.cs Progetto: Crwth/UOnet
 private void btn_startLJ_Click(object sender, EventArgs e)
 {
     if (Started)
     {
         myScript.Stop();
         Started = false;
     }
     else
     {
         UO.Open(1);
         myScript = new LJ();
         myScript.Start(this, UO);
         Started = true;
     }
 }