public void calculator() { Ribbon ribbon = new Ribbon(); System.Windows.Forms.RibbonContext ribbonContext = new RibbonContext(ribbon); Console.WriteLine(ribbonContext.Text); }
/// <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(); }