/// <summary> /// Value constrcutor /// </summary> public RichTextBox(DevAge.Windows.Forms.RichText value) : base(value) { View = new Views.RichTextBox(); Model.AddModel(new Models.RichTextBox()); AddController(Controllers.RichTextBox.Default); Editor = new Editors.RichTextBox(); }
/// <summary> /// Copy constructor. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance. /// </summary> /// <param name="p_Source"></param> public RichTextBox(RichTextBox p_Source) : base(p_Source) { ElementRichText = (DevAge.Drawing.VisualElements.IRichText)p_Source.ElementRichText.Clone(); }