コード例 #1
0
 private void UpdateMiner(MinerList miner)
 {
     miner.executable       = textExecutable.Text;
     miner.activeArguments  = textActive.Text;
     miner.idleArguments    = textIdleArgs.Text;
     miner.mineWhileNotIdle = checkMineNotIdle.Checked;
     miner.minerDisabled    = checkMinerDisabled.Checked;
 }
コード例 #2
0
 private void PopulateMiner(MinerList miner)
 {
     textExecutable.Text        = miner.executable;
     textActive.Text            = miner.activeArguments;
     textIdleArgs.Text          = miner.idleArguments;
     checkMineNotIdle.Checked   = miner.mineWhileNotIdle;
     checkMinerDisabled.Checked = miner.minerDisabled;
 }