生成中文语言包
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user