Mercurial > servermonitor
comparison ServerMonitor/Forms/CheckForm.cs @ 27:e59ec1585616
Fix bad commit intending to change default frequency that actually changed default severity.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Sun, 02 Jun 2019 17:51:30 -0400 |
parents | 48044d9ac000 |
children | 69e8ecdbbdd3 |
comparison
equal
deleted
inserted
replaced
26:b5502ce8cb1f | 27:e59ec1585616 |
---|---|
64 private void CheckForm_Load(object sender, EventArgs e) | 64 private void CheckForm_Load(object sender, EventArgs e) |
65 { | 65 { |
66 // Set up control default values. | 66 // Set up control default values. |
67 CheckTypeComboBox.Items.AddRange(Check.CheckTypes); | 67 CheckTypeComboBox.Items.AddRange(Check.CheckTypes); |
68 SeverityComboBox.Items.AddRange(new object[] { CheckStatus.Error, CheckStatus.Warning, CheckStatus.Information }); | 68 SeverityComboBox.Items.AddRange(new object[] { CheckStatus.Error, CheckStatus.Warning, CheckStatus.Information }); |
69 SeverityComboBox.SelectedIndex = 1; | 69 SeverityComboBox.SelectedIndex = 0; |
70 FrequencyUnitsComboBox.DataSource = Enum.GetValues(typeof(FrequencyUnits)); | 70 FrequencyUnitsComboBox.DataSource = Enum.GetValues(typeof(FrequencyUnits)); |
71 FrequencyUnitsComboBox.SelectedIndex = 1; | |
71 Helpers.FormatImageButton(RunButton); | 72 Helpers.FormatImageButton(RunButton); |
72 Helpers.FormatImageButton(CancelRunButton); | 73 Helpers.FormatImageButton(CancelRunButton); |
73 Icon = Resources.icon; | 74 Icon = Resources.icon; |
74 | 75 |
75 // Bind event listeners. | 76 // Bind event listeners. |