Exemple #1
0
 private void highDateTimePicker_ValueChanged(object sender, EventArgs e)
 {
     if (mInitialLoad)
     {
         return;
     }
     Range = DateRange.Normalize(Range?.LowBound, highDateTimePicker.Value);
 }
Exemple #2
0
 private void lowDateTimePicker_ValueChanged(object sender, EventArgs e)
 {
     if (mInitialLoad)
     {
         return;
     }
     Range = DateRange.Normalize(lowDateTimePicker.Value, Range?.HighBound);
 }
Exemple #3
0
        private void highBoundCheckbox_CheckedChanged(object sender, EventArgs e)
        {
            if (mInitialLoad)
            {
                return;
            }
            highDateTimePicker.Enabled = highBoundCheckbox.Checked;

            Range = DateRange.Normalize(
                Range?.LowBound,
                highBoundCheckbox.Checked,
                highDateTimePicker.Value);
        }
Exemple #4
0
        private void lowBoundCheckbox_CheckedChanged(object sender, EventArgs e)
        {
            if (mInitialLoad)
            {
                return;
            }
            lowDateTimePicker.Enabled = lowBoundCheckbox.Checked;

            Range = DateRange.Normalize(
                lowBoundCheckbox.Checked,
                lowDateTimePicker.Value,
                Range?.HighBound);
        }