private void DefaulCheckBox_CheckedChanged(object sender, EventArgs e) { if (DefaulCheckBox.Checked) { TimeGroupBox.Enabled = true; RefreshHourbutton.PerformClick(); } else { TimeGroupBox.Enabled = false; FromTimeTextBox.Text = "00:00:00"; ToTimeTextBox.Text = "23:59:59"; } }
private void DefaulCheckBox_CheckedChanged(object sender, EventArgs e) { try { if (DefaulCheckBox.Checked) { TimeGroupBox.Enabled = true; RefreshHourbutton.PerformClick(); } else { TimeGroupBox.Enabled = false; ToTimeTextBox.Text = "23:59:59"; } } catch (Exception ex) { Hepsa.Core.Common.MessageBox.ErrorMessage(ex.Message); } }