Beispiel #1
0
 public void SetFocus(Widget widget)
 {
     Container.SetFocus(widget);
 }
Beispiel #2
0
 // Methods
 public void SetFocus(Widget focusedWidget)
 {
     focusedWidget.Container.Widgets.ForEach(widget =>
     {
         if (widget != focusedWidget)
         {
             widget.Focused = false;
         }
     });
 }