public static void UpdateMusicState(BgMusicState state) { MusicState = state; WinSoundServer.WinSoundServerSysTray.UpdateTrayMenu(WinSoundServer.SmartVolManagerPackage.BgMusicManager.GetValidOperation(), BgMusicWindowShown, IsRunning()); }
public static void UpdateBgMusicState(BgMusicState state) { if (MusicState != state) { MusicState = state; UiPackage.UiCommands.UpdateUiForState(MuteFm.SmartVolManagerPackage.BgMusicManager.GetValidOperation(), BgMusicWindowShown, IsRunning()); } }