private void offsetNumUpDown_ValueChanged(object sender, EventArgs e) { offsetTrackBar.Value = offset = (short)offsetNumUpDown.Value; }