コード例 #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
ファイル: ControlFrame.cs プロジェクト: Wiladams/NewTOAPIA
 public MenuRendering(MenuElementType menuElement, ControlStateModifier modifiers)
     : base(ControlCategory.Menu, (int)menuElement, modifiers)
 {}