Example #1
0
File: Widget.cs Project: txdv/smuxi
        protected Widget(Form form, string widgetName)
        {
            if (form == null) {
                throw new ArgumentNullException("form");
            }
            if (widgetName == null) {
                throw new ArgumentNullException("widgetName");
            }

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