public void disableDgGrid()
{
foreach (DataGridViewRow row in dg.Rows)
{
if (row.Cells[2].Value == null)
{
var rdo = (DataGridViewRadioButtonCell)this.dg[0, row.Index];
rdo.Display = false;
}
}
this.Activate();
}
winform 中datagridview隐藏某个控件
最新推荐文章于 2023-06-01 00:33:49 发布