private void conSelMiner_Click(object sender, EventArgs e) { rowidx = dgView.SelectedRows[0].Index; MinerController(false); }