将温差图例表设置为只读模式
This commit is contained in:
@@ -87,13 +87,16 @@ namespace JoyD.Windows.CS
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeTempDiffDataGridView()
|
private void InitializeTempDiffDataGridView()
|
||||||
{
|
{
|
||||||
|
// 设置整个DataGridView为只读
|
||||||
|
dataGridViewTempDiff.ReadOnly = true;
|
||||||
|
|
||||||
// 添加列:温差值
|
// 添加列:温差值
|
||||||
DataGridViewTextBoxColumn columnTempDiff = new DataGridViewTextBoxColumn
|
DataGridViewTextBoxColumn columnTempDiff = new DataGridViewTextBoxColumn
|
||||||
{
|
{
|
||||||
Name = "tempDiffValue",
|
Name = "tempDiffValue",
|
||||||
HeaderText = "温差值",
|
HeaderText = "温差值",
|
||||||
Width = 80,
|
Width = 80,
|
||||||
ReadOnly = false
|
ReadOnly = true
|
||||||
};
|
};
|
||||||
|
|
||||||
// 添加列:颜色
|
// 添加列:颜色
|
||||||
|
|||||||
Reference in New Issue
Block a user