Exemplo n.º 1
0
        public override bool SwitchStyle(WidgetStyleType styleType)
        {
            if (base.SwitchStyle(styleType))
            {
                m_label.SwitchStyle(styleType);
                m_image.SwitchStyle(styleType);

                return(true);
            }
            return(false);
        }
Exemplo n.º 2
0
        public override bool SwitchStyle(WidgetStyleType styleType)
        {
            if (base.SwitchStyle(styleType))
            {
                if (m_image != null)
                {
                    m_image.SwitchStyle(styleType);
                }

                if (m_linkedLabel != null)
                {
                    m_linkedLabel.SwitchStyle(styleType);
                }

                return(true);
            }
            return(false);
        }