Esempio n. 1
0
 public void MinerInfoLoaded(object sender, MinerInfoEventArgs e)
 {
     if (e.MinersToDisable.Count > 0)
     {
         UpdateStatus("Miner is currently running, attempting to stop...");
         new Task(() => { launcherApi.StartStopMiner(); }).Start();
     }
     else
     {
         HandleMonitorJobs();
     }
 }
Esempio n. 2
0
 public void MinerEnabled(object sender, MinerInfoEventArgs e)
 {
     QuitGracefully();
 }
Esempio n. 3
0
 public void MinerDisabled(object sender, MinerInfoEventArgs e)
 {
     Properties.Settings.Default.MinersDisabled = e.MinersToDisable;
     Properties.Settings.Default.Save();
     HandleMonitorJobs();
 }