private void IncrementDecrementTime(bool increment)
{
//check if hour is selected if yes set it
if (hours == currentlySelectedTextBox)
SelectedHour = MathUtil.IncrementDecrementNumber(hours.Text, HourMinValue, HourMaxValue, increment);
//check if minute is selected if yes set it
else if (minutes == currentlySelectedTextBox)
SelectedMinute = MathUtil.IncrementDecrementNumber(minutes.Text, MinuteMinValue, MinuteMaxValue, increment);
//if non of the above are selected assume that the seconds is selected
else
SelectedSecond = MathUtil.IncrementDecrementNumber(seconds.Text, SecondMinValue, SecondMaxValue, increment);
}