comparison ServerMonitor/Forms/CheckForm.cs @ 12:d92176c5398a

Better display of schedule name.
author Brad Greco <brad@bgreco.net>
date Mon, 15 Apr 2019 19:24:55 -0400
parents 7127d5b5ac75
children 23f2e0da1094
comparison
equal deleted inserted replaced
11:75ca86e0862c 12:d92176c5398a
289 ScheduleBetweenPanel.Visible = !(ScheduleAtPanel.Visible = FrequencyUnitsComboBox.SelectedIndex == 3); 289 ScheduleBetweenPanel.Visible = !(ScheduleAtPanel.Visible = FrequencyUnitsComboBox.SelectedIndex == 3);
290 } 290 }
291 291
292 private void FrequencyUnitsComboBox_Format(object sender, ListControlConvertEventArgs e) 292 private void FrequencyUnitsComboBox_Format(object sender, ListControlConvertEventArgs e)
293 { 293 {
294 e.Value = e.Value.ToString().ToLower() + 's'; 294 e.Value = e.Value.ToString().ToLower() + "s";
295 } 295 }
296 296
297 private void NameTextBox_TextChanged(object sender, EventArgs e) 297 private void NameTextBox_TextChanged(object sender, EventArgs e)
298 { 298 {
299 SetTitle(); 299 SetTitle();