修复因语言字典缺失导致的界面报错
This commit is contained in:
@@ -53,10 +53,11 @@ namespace CleanMachineHMI.frmChild
|
||||
{
|
||||
InitControlEvent();
|
||||
this.SetFormControlText();
|
||||
|
||||
var items = this.GetComBoboxItemArr(cmbGender.Name);
|
||||
if (items != null && items.Count > 0)
|
||||
{
|
||||
cmbGender.Items.Clear();
|
||||
foreach (string item in this.GetComBoboxItemArr(cmbGender.Name))
|
||||
foreach (string item in items)
|
||||
{
|
||||
cmbGender.Items.Add(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user