comparison ServerMonitor/Forms/CheckForm.cs @ 22:48044d9ac000

Change default check interval from 5 seconds to 5 minutes.
author Brad Greco <brad@bgreco.net>
date Thu, 30 May 2019 21:40:02 -0400
parents 7626b099aefd
children e59ec1585616
comparison
equal deleted inserted replaced
21:832a07de0f90 22:48044d9ac000
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 = 0; 69 SeverityComboBox.SelectedIndex = 1;
70 FrequencyUnitsComboBox.DataSource = Enum.GetValues(typeof(FrequencyUnits)); 70 FrequencyUnitsComboBox.DataSource = Enum.GetValues(typeof(FrequencyUnits));
71 Helpers.FormatImageButton(RunButton); 71 Helpers.FormatImageButton(RunButton);
72 Helpers.FormatImageButton(CancelRunButton); 72 Helpers.FormatImageButton(CancelRunButton);
73 Icon = Resources.icon; 73 Icon = Resources.icon;
74 74