示例#1
0
        public void calculator()
        {
            Ribbon ribbon = new Ribbon();

            System.Windows.Forms.RibbonContext ribbonContext = new RibbonContext(ribbon);
            Console.WriteLine(ribbonContext.Text);
        }
示例#2
0
        /// <summary>
        /// Sets the context of the tab
        /// </summary>
        /// <param name="context"></param>
        public void SetContext(RibbonContext context)
        {
            bool trigger = !context.Equals(context);

            if (trigger)
                OnContextChanged(EventArgs.Empty);

            _context = context;

            throw new NotImplementedException();
        }