Esempio n. 1
0
 internal NativeHandleContractAdapter(IRemoteElement upstream)
 {
     if (upstream == null)
     {
         throw new ArgumentNullException("upstream");
     }
     m_Upstream = upstream;
 }
Esempio n. 2
0
 private void CreateAugmentedQueryWindowInner(string sqlScript, string title, IRemoteElement remoteElement)
 {
     m_QueryWindowServices.CreateAugmentedQueryWindow(sqlScript, title, new ElementHost
                                                                        {
                                                                            Child =
                                                                                remoteElement.ToFrameworkElement(),
                                                                                Height = 52
                                                                        });
 }
Esempio n. 3
0
 private void CreateAugmentedQueryWindowInner(string sqlScript, string title, IRemoteElement remoteElement)
 {
     m_QueryWindowServices.CreateAugmentedQueryWindow(sqlScript, title, new ElementHost
     {
         Child =
             remoteElement.ToFrameworkElement(),
         Height = 52
     });
 }
Esempio n. 4
0
 public void CreateAugmentedQueryWindow(string sqlScript, string title, IRemoteElement remoteElement)
 {
     m_Dispatcher.BeginInvoke(new Action(() => CreateAugmentedQueryWindowInner(sqlScript, title, remoteElement)));
 }
Esempio n. 5
0
        public static FrameworkElement ToFrameworkElement(this IRemoteElement remotedElement)
        {
            INativeHandleContract nativeHandleContractAdapter = new NativeHandleContractAdapter(remotedElement);

            return(FrameworkElementAdapters.ContractToViewAdapter(nativeHandleContractAdapter));
        }
Esempio n. 6
0
 public void CreateAugmentedQueryWindow(string sqlScript, string title, IRemoteElement remoteElement)
 {
     m_Dispatcher.BeginInvoke(new Action(() => CreateAugmentedQueryWindowInner(sqlScript, title, remoteElement)));
 }