Пример #1
0
        public void LinkParent(Menu parent, MenuElementType eType)
        {
            m_Parent = parent;
            m_eType  = eType;

            m_Img.Source = ResourceController.GetResourceBitmap(m_asPreviews[(int)eType]);
            // m_Text.Source = ResourceController.GetResourceBitmap(m_asLabels[(int)eType]);
            m_TB.Text = m_asLabelStrings[(int)eType];
        }
Пример #2
0
 public MenuRendering(MenuElementType menuElement, ControlStateModifier modifiers)
     : base(ControlCategory.Menu, (int)menuElement, modifiers)
 {}