Resolve NRPE code review comments from Tina.

This commit is contained in:
Bengang Yuan 2023-10-24 09:50:57 +08:00 committed by Konstantina Chremmou
parent 2ad5fd8792
commit 28cdeadd94

View File

@ -54,8 +54,8 @@ namespace XenAdmin.SettingsPanels
{
Name = name;
NameCell = new DataGridViewTextBoxCell { Value = labelName };
WarningThresholdCell = new DataGridViewTextBoxCell();
CriticalThresholdCell = new DataGridViewTextBoxCell();
WarningThresholdCell = new DataGridViewTextBoxCell { Value = "" };
CriticalThresholdCell = new DataGridViewTextBoxCell { Value = "" };
CheckThresholdRow = new DataGridViewRow();
CheckThresholdRow.Cells.AddRange(NameCell, WarningThresholdCell, CriticalThresholdCell);
CheckThresholdRow.DefaultCellStyle.Format = "N2";