/// <summary> /// Set Sound /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tbsound_ValueChanged(object sender, EventArgs e) { uint oriVolume = (uint)(0xFFFF * 1.0 * (this.tbsound.Value / 6.0)); SoundVolume.SetSoundVolume(oriVolume); GetSound(); SoundPlayer.PlayWAV(SoundOK); }