Example #1
0
 public void RemoveFocus(PinouInputReceiver ir)
 {
     if (_focuses.Contains(ir) == true)
     {
         _focuses.Remove(ir);
         ir.LooseFocus(this);
     }
 }
Example #2
0
 public void RemoveAllFocuses()
 {
     for (int i = _focuses.Count - 1; i >= 0; i--)
     {
         PinouInputReceiver ir = _focuses[i];
         _focuses.RemoveAt(i);
         ir.LooseFocus(this);
     }
 }