/// <summary> /// Initialize a new instance of the KryptonRichTextBoxActionList class. /// </summary> /// <param name="owner">Designer that owns this action list instance.</param> public KryptonRichTextBoxActionList(KryptonRichTextBoxDesigner owner) : base(owner.Component) { // Remember the text box instance _richTextBox = owner.Component as KryptonRichTextBox; // Cache service used to notify when a property has changed _service = (IComponentChangeService)GetService(typeof(IComponentChangeService)); }
/// <summary> /// Initialize a new instance of the KryptonRichTextBoxActionList class. /// </summary> /// <param name="owner">Designer that owns this action list instance.</param> public KryptonRichTextBoxActionList(KryptonRichTextBoxDesigner owner) : base(owner.Component) { // Remember the text box instance _richTextBox = owner.Component as KryptonRichTextBox; // Cache service used to notify when a property has changed _service = (IComponentChangeService)GetService(typeof(IComponentChangeService)); }