Exemple #1
0
        public ViewManager(IntPtr hwnd)
        {
            _rootElement = _automation.ElementFromHandle(hwnd);
            if (null == _rootElement)
            {
                throw this.exception;
            }

            this.vt = new ViewTree(_rootElement, _automation);
            this.vt.BuildTree();
        }
        public ViewManager(IntPtr hwnd)
        {
            _rootElement = _automation.ElementFromHandle(hwnd);
            if (null == _rootElement)
            {
                throw this.exception;
            }

            this.vt = new ViewTree(_rootElement, _automation);
            this.vt.BuildTree();
        }