public void UpdateState(bool reDrawAll) { CalculateTotalHashrate(); Setlabels(); if (reDrawAll) { SetIntensityControl(); } UiStateUtil.UpdateState(Miner, lblMinerState, btnStartMining, null); }
private void btnStartMining_Click(object sender, EventArgs e) { UiStateUtil.MiningStartAction(Miner); }