private void stopButton_Click(object sender, EventArgs e) { curMiner.proc.Kill(); miners.Remove(curMiner); refreshInstanceList(); }