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