This commit is contained in:
parent
146d4383b4
commit
a9267ec40e
@ -80,7 +80,7 @@ namespace VEPROMS
|
||||
cb.Location = new Point((int)fld.x * 2, (int)fld.y * 2);
|
||||
cb.Visible = true;
|
||||
string val = procConfig.GetValue("PSI", fld.name);
|
||||
cb.Checked = val.ToUpper()[0] == 'Y' ? true : false;
|
||||
cb.Checked = val!=null && val!="" && val.ToUpper()[0] == 'Y' ? true : false;
|
||||
this.Controls.Add(cb);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user