Example #1
0
 /// <summary>
 /// Create a new Widget.
 /// </summary>
 /// <param name="screen">The Widget's screen.</param>
 /// <param name="parent">The Widget's parent.</param>
 private Widget(WidgetScreen screen, Widget parent)
 {
     if (screen == null)
         throw new ArgumentNullException("screen");
     Screen = screen;
     Parent = parent;
     StateChanged("");
 }
Example #2
0
 /// <summary>
 /// Create a new Widget.
 /// </summary>
 /// <param name="screen">The Widget's screen.</param>
 protected Widget(WidgetScreen screen)
     : this(screen, null)
 {
 }
Example #3
0
 /// <summary>
 /// Create a new ScreenWidget.
 /// </summary>
 ///<param name="widgetScreen">The WidgetScreen this will be associated with.</param>
 public ScreenWidget(WidgetScreen widgetScreen)
     : base(widgetScreen)
 {
 }