Mercurial > servermonitor
comparison ServerMonitor/Controls/FileCheckControl.cs @ 21:832a07de0f90
Fix server name descenders being cut off.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Thu, 30 May 2019 21:39:29 -0400 |
parents | 7127d5b5ac75 |
children |
comparison
equal
deleted
inserted
replaced
20:b21318f6e3f1 | 21:832a07de0f90 |
---|---|
34 | 34 |
35 // Blank out text boxes that are disabled and have a blank-looking value. | 35 // Blank out text boxes that are disabled and have a blank-looking value. |
36 if (FileSizeTextBox.Text == "0" && !check.CheckFileSize) | 36 if (FileSizeTextBox.Text == "0" && !check.CheckFileSize) |
37 FileSizeTextBox.Clear(); | 37 FileSizeTextBox.Clear(); |
38 if (DateModifiedTextBox.Text == "0" && !check.CheckDateModified) | 38 if (DateModifiedTextBox.Text == "0" && !check.CheckDateModified) |
39 DateModifiedTextBox.Clear(); | 39 DateModifiedTextBox.Clear(); |
40 } | 40 } |
41 | 41 |
42 /// <summary>Updates the properties of a check from user input.</summary> | 42 /// <summary>Updates the properties of a check from user input.</summary> |
43 public override void UpdateCheck(Check check1) | 43 public override void UpdateCheck(Check check1) |
44 { | 44 { |