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