private SoundPlayer load_sound(string path) { SoundPlayer result; try { result = new SoundPlayer((Stream)Resources.ResourceManager.GetObject(path)); } catch { result = null; } return result; }