生成中文语言包

This commit is contained in:
ehkang
2022-03-19 12:46:23 +08:00
parent e9367f6b29
commit 55588c0e6e
19 changed files with 5505 additions and 9276 deletions

View File

@@ -43,7 +43,7 @@ namespace CleanMachineHMI.FrmUserControl
if (dt != null && dt.Rows.Count > 0)
{
kryptonDataGridView2.DataSource = dt;
kryptonDataGridView2.SetDataViewColumnText(this.Name + "." + kryptonDataGridView2.Name, GlobalHelper.LanguageCode);
kryptonDataGridView2.SetDataViewColumnText(this.Name + "." + kryptonDataGridView2.Name);
}
else
{
@@ -99,13 +99,13 @@ namespace CleanMachineHMI.FrmUserControl
kryptonDataGridView1.Rows[index].Cells[4].Value = item["创建人"].ToString();
kryptonDataGridView1.Rows[index].Cells[5].Value = item["创建时间"].ToString();
}
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name, GlobalHelper.LanguageCode);
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name);
isSlectRow = true;
kryptonDataGridView1_SelectionChanged(kryptonDataGridView1, new EventArgs());
}
else
{
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name, GlobalHelper.LanguageCode);
kryptonDataGridView1.SetDataViewColumnText(this.Name + "." + kryptonDataGridView1.Name);
kryptonDataGridView1.Rows.Clear();
}
}