public override void Assign(RepositoryItem item) { RepositoryItemMultiLineButtonEdit source = item as RepositoryItemMultiLineButtonEdit; BeginUpdate(); try { base.Assign(item); if (source == null) { return; } this._acceptsReturn = source.AcceptsReturn; this._acceptsTab = source.AcceptsTab; this._scrollBars = source.ScrollBars; this._linesCount = source.LinesCount; } finally { EndUpdate(); } }
static MultiLineButtonEdit() { RepositoryItemMultiLineButtonEdit.RegisterMultiLineButtonEdit(); }