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