禁止在温差图例表中添加新行
This commit is contained in:
@@ -89,6 +89,8 @@ namespace JoyD.Windows.CS
|
|||||||
{
|
{
|
||||||
// 设置整个DataGridView为只读
|
// 设置整个DataGridView为只读
|
||||||
dataGridViewTempDiff.ReadOnly = true;
|
dataGridViewTempDiff.ReadOnly = true;
|
||||||
|
// 禁止用户添加新行
|
||||||
|
dataGridViewTempDiff.AllowUserToAddRows = false;
|
||||||
|
|
||||||
// 添加列:温差值
|
// 添加列:温差值
|
||||||
DataGridViewTextBoxColumn columnTempDiff = new DataGridViewTextBoxColumn
|
DataGridViewTextBoxColumn columnTempDiff = new DataGridViewTextBoxColumn
|
||||||
|
|||||||
Reference in New Issue
Block a user