コード例 #1
0
        //private Panel m_rootElement;

        /// <summary>
        /// Create a new instance of the CoolMenu control.
        /// </summary>
        public CoolMenu()
        {
            m_generator = new CoolMenuItemContainerGenerator();

            this.DefaultStyleKey = typeof(CoolMenu);
            this.MouseLeave     += new MouseEventHandler(CoolMenu_MouseLeave);
        }
コード例 #2
0
        //private Panel m_rootElement;

        /// <summary>
        /// Create a new instance of the CoolMenu control.
        /// </summary>
        public CoolMenu()
        {
            m_generator = new CoolMenuItemContainerGenerator();

            this.DefaultStyleKey = typeof(CoolMenu);
            this.MouseLeave += new MouseEventHandler(CoolMenu_MouseLeave);
        }