1 write to clientSite
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
18172clientSite = value;
26 references to clientSite
System.Windows.Forms (26)
winforms\Managed\System\WinForms\Control.cs (26)
16473if (clientSite == null) { 16484if (NativeMethods.Succeeded(clientSite.GetContainer(out container)) && container is NativeMethods.IHTMLDocument) { 16540if (clientSite != null) { 16541clientSite.SaveObject(); 16823if (clientSite is UnsafeNativeMethods.IDispatch) { 16826UnsafeNativeMethods.IDispatch disp = (UnsafeNativeMethods.IDispatch)clientSite; 16859return clientSite; 17037UnsafeNativeMethods.IOleInPlaceSite inPlaceSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 17113clientSite.ShowObject(); 17196UnsafeNativeMethods.IOleInPlaceSite oleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 17584if (activeXState[inPlaceActive] && clientSite is UnsafeNativeMethods.IOleControlSite) { 17587((UnsafeNativeMethods.IOleControlSite)clientSite).OnFocus(focus ? 1 : 0); 18127if (clientSite != null) { 18161if (UnsafeNativeMethods.IsComObject(clientSite)) { 18164Marshal.FinalReleaseComObject(clientSite); 18174if (clientSite != null) { 18175control.Site = new AxSourcingSite(control, clientSite, "ControlAxSourcingSite"); 18192if (clientSite == null) { 18259UnsafeNativeMethods.IOleInPlaceSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 18268Debug.Assert(clientSite != null, "How can we setextent before we are sited??"); 18292if (!activeXState[inPlaceActive] && clientSite != null) { 18294clientSite.RequestNewObjectLayout(); 18555UnsafeNativeMethods.IOleControlSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleControlSite; 18598UnsafeNativeMethods.IOleInPlaceSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 18628UnsafeNativeMethods.IOleInPlaceSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleInPlaceSite; 18685UnsafeNativeMethods.IOleControlSite ioleClientSite = clientSite as UnsafeNativeMethods.IOleControlSite;