public UserControl Build()
        {
            var textControl = new QuickHelpTextControl();

            textControl.TitleLabel.Content   = Title;
            textControl.MessageLabel.Content = Message;
            return(textControl);
        }
Exemplo n.º 2
0
        public UserControl Build()
        {
            var textControl = new QuickHelpTextControl();

            if (!Audio.GetMasterMuteState())
            {
                textControl.TitleLabel.Content   = Properties.Resources.QuickStrip_Volume_Mute_HelpTitle;
                textControl.MessageLabel.Content = Properties.Resources.QuickStrip_Volume_Mute_HelpMessage;
            }
            else
            {
                textControl.TitleLabel.Content   = Properties.Resources.QuickStrip_Volume_Mute_MutedTitle;
                textControl.MessageLabel.Content = Properties.Resources.QuickStrip_Volume_Mute_MutedMessage;
            }
            return(textControl);
        }