예제 #1
0
            public IPane FindFirst(PaneCondition condition)
            {
                if (_pane != null)
                {
                    if (condition(_pane))
                    {
                        return(_pane);
                    }
                }
                else if (_childList != null)
                {
                    IPane p = _childList.FindFirst(condition);
                    if (p != null)
                    {
                        return(p);
                    }
                }

                if (_next != null)
                {
                    return(_next.FindFirst(condition));
                }

                return(null);
            }
예제 #2
0
 public IPane FindFirst(PaneCondition condition)
 {
     return(_first.FindFirst(condition));
 }