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