Exemple #1
0
        protected Widget(Form form, string widgetName)
        {
            if (form == null) {
                throw new ArgumentNullException("form");
            }
            if (widgetName == null) {
                throw new ArgumentNullException("widgetName");
            }

            Form = form;
            WidgetName = widgetName;
        }
Exemple #2
0
 public TextView(Form form, string widgetId)
     : base(form, widgetId)
 {
     Lines = new List<string>();
     Form.EventReceived += OnEventReceived;
 }