public override ComponentPrx[] getChildren(Ice.Current context__) { AutomationElementCollection childrenList = element.FindAll(TreeScope.Children, Condition.TrueCondition); ComponentPrx[] components = new ComponentPrx[childrenList.Count]; for (int i = 0; i < childrenList.Count; i++) { components[i] = new WGComponent(childrenList[i]).Proxy; } return(components); }
public WGWindow(WGComponent component) { this.component = component; WindowPattern wp = component.Element.GetCurrentPattern( WindowPattern.Pattern) as WindowPattern; modal = wp.Current.IsModal; Ice.ObjectPrx base_ = Adapter.Instance.addWithUUID(this); proxy = WindowPrxHelper.checkedCast(base_); }