Exemplo n.º 1
0
 /// <summary>
 /// Source control has got the focus.
 /// </summary>
 /// <param name="c">Reference to the source control instance.</param>
 public virtual void GotFocus(Control c)
 {
     // Use source controller as first preference
     if (SourceController != null)
     {
         SourceController.GotFocus(c);
     }
     else
     {
         // Bubble event up to the parent
         Parent?.GotFocus(c);
     }
 }