protected Widget(Form form, string widgetName) { if (form == null) { throw new ArgumentNullException("form"); } if (widgetName == null) { throw new ArgumentNullException("widgetName"); } Form = form; WidgetName = widgetName; }
public TextView(Form form, string widgetId) : base(form, widgetId) { Lines = new List<string>(); Form.EventReceived += OnEventReceived; }