public RibbonOrbAdornerGlyph(BehaviorService behaviorService, RibbonDesigner designer, Ribbon ribbon) : base(new RibbonOrbAdornerGlyphBehavior()) { _behaviorService = behaviorService; _componentDesigner = designer; _ribbon = ribbon; }
public RibbonQuickAccessToolbarGlyph(BehaviorService behaviorService, RibbonDesigner designer, Ribbon ribbon) : base(new RibbonQuickAccessGlyphBehavior(designer, ribbon)) { _behaviorService = behaviorService; _componentDesigner = designer; _ribbon = ribbon; }
public RibbonTabGlyph(BehaviorService behaviorService, RibbonDesigner designer, Ribbon ribbon) : base(new RibbonTabGlyphBehavior(designer, ribbon)) { _behaviorService = behaviorService; _componentDesigner = designer; _ribbon = ribbon; }
public RibbonTabGlyph(BehaviorService behaviorService, RibbonDesigner designer, Ribbon ribbon) : base(new RibbonTabGlyphBehavior(designer, ribbon), behaviorService) { _componentDesigner = designer; _ribbon = ribbon; size = new Size(60, 16); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { base.Dispose(disposing); if (Current == this) { Current = null; } }
public RibbonTabGlyphBehavior(RibbonDesigner designer, Ribbon ribbon) { _designer = designer; _ribbon = ribbon; }
public RibbonQuickAccessGlyphBehavior(RibbonDesigner designer, Ribbon ribbon) { _designer = designer; _ribbon = ribbon; }
public RibbonDesigner() { Current = this; }