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();
}