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; }
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; }