Bien, continuando con el articulo.... la primera clase que veremos sera RepositoryTextEditor, este heredara de Component ya que no tendrá una UI que interactue con el usuario. [ToolboxBitmap(typeof(System.Windows.Forms.TextBox))] [DesignerSerializer(typeof(RepositoryButtonSerializer), typeof(CodeDomSerializer))] public class RepositoryTextEditor : Component { private string name; private bool allowWhiteSpace; private HorizontalAlignment textAlign; private CharacterCasing characterCasing; private TextEditor.MaskType maskType; private RepositoryButtonCollection buttons; private static readonly object buttonClick; internal System.Windows.Forms.DataGridView DataGridViewOwner { get; set; } public delegate void RepositoryButtonPressEventHandler(object sender, RepositoryButtonArgs args); public event RepositoryButtonPressEventHandler ButtonClick { add { base.Events.AddHandler(buttonClick, value); } re