コード例 #1
0
        private void UpdateFilterState()
        {
            Image img = null;

            if (_pli != null)
            {
                img = Resources.ResourceManager.GetImage(_FilterState.ToString().ToLowerInvariant());
            }

            tslFilterState.Image = img;
            tslFilterState.Tag   = Translator.Translate("TXT_MEDIA_STATE", MediaRenderer.DefaultInstance.TranslatedFilterState);

            UpdatePlayPauseButton();
        }