//重置 private void btnReSet_Click(object sender, EventArgs e) { for (int j = 0; j < LayVMain.RowCount; j++) { if (LayVMain.GetDataRow(j)["Checked"].ToString() == "True") { LayVMain.GetDataRow(j)["Checked"] = false; } } this.grpPic.Controls.Clear(); x = 10; y = 25; }
//重置 private void btnReSet_Click(object sender, EventArgs e) { this.grpPic.Controls.Clear(); this.lupMegerPNumber.Properties.DataSource = null; for (int j = 0; j < LayVMain.RowCount; j++) { if (LayVMain.GetDataRow(j)["Checked"].ToString() == "True") { LayVMain.GetDataRow(j)["Checked"] = false; } } i = 1; x = 10; y = 25; }