private bool AdjustVolume(int direction)
{
Adjustment adj = slider.Adjustment;
double temp_vol = Volume + direction * adj.StepIncrement;
temp_vol = Math.Min(adj.Upper, temp_vol);
temp_vol = Math.Max(adj.Lower, temp_vol);
Volume = (int)temp_vol;
return Volume > adj.Lower && Volume < adj.Upper;
}