14 writes to ActiveXState
System.Windows.Forms (14)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (10)
616
ActiveXState
++; // To exit the loop
657
ActiveXState
--; // To exit the loop
855
ActiveXState
= WebBrowserHelper.AXState.Loaded;
887
ActiveXState
= WebBrowserHelper.AXState.Passive;
912
ActiveXState
= WebBrowserHelper.AXState.Running;
931
ActiveXState
= WebBrowserHelper.AXState.Loaded;
953
ActiveXState
= WebBrowserHelper.AXState.InPlaceActive;
974
ActiveXState
= WebBrowserHelper.AXState.Running;
994
ActiveXState
= WebBrowserHelper.AXState.UIActive;
1007
ActiveXState
= WebBrowserHelper.AXState.InPlaceActive;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (4)
231
Host.
ActiveXState
= WebBrowserHelper.AXState.InPlaceActive;
239
Host.
ActiveXState
= WebBrowserHelper.AXState.UIActive;
284
Host.
ActiveXState
= WebBrowserHelper.AXState.InPlaceActive;
298
Host.
ActiveXState
= WebBrowserHelper.AXState.Running;
35 references to ActiveXState
System.Windows.Forms (35)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (32)
195
if (
ActiveXState
>= WebBrowserHelper.AXState.InPlaceActive)
423
if (
ActiveXState
>= WebBrowserHelper.AXState.InPlaceActive)
486
if (
ActiveXState
< WebBrowserHelper.AXState.UIActive)
516
return
ActiveXState
>= WebBrowserHelper.AXState.InPlaceActive && base.CanSelectCore();
594
while (state >
ActiveXState
)
596
switch (
ActiveXState
)
600
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Loaded, "Failed transition");
604
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Running, "Failed transition");
608
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.InPlaceActive, "Failed transition");
612
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.UIActive, "Failed transition");
635
while (state <
ActiveXState
)
637
switch (
ActiveXState
)
641
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.InPlaceActive, "Failed transition");
645
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Running, "Failed transition");
649
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Loaded, "Failed transition");
653
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Passive, "Failed transition");
835
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Passive, "Wrong start state to transition from");
836
if (
ActiveXState
== WebBrowserHelper.AXState.Passive)
864
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Loaded, "Wrong start state to transition from");
865
if (
ActiveXState
== WebBrowserHelper.AXState.Loaded)
893
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Loaded, "Wrong start state to transition from");
894
if (
ActiveXState
== WebBrowserHelper.AXState.Loaded)
918
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Running, "Wrong start state to transition from");
919
if (
ActiveXState
== WebBrowserHelper.AXState.Running)
937
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.Running, "Wrong start state to transition from");
938
if (
ActiveXState
== WebBrowserHelper.AXState.Running)
959
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.InPlaceActive, "Wrong start state to transition from");
960
if (
ActiveXState
== WebBrowserHelper.AXState.InPlaceActive)
980
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.InPlaceActive, "Wrong start state to transition from");
981
if (
ActiveXState
== WebBrowserHelper.AXState.InPlaceActive)
1000
Debug.Assert(
ActiveXState
== WebBrowserHelper.AXState.UIActive, "Wrong start state to transition from");
1001
if (
ActiveXState
== WebBrowserHelper.AXState.UIActive)
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (3)
185
if (Host.
ActiveXState
>= WebBrowserHelper.AXState.InPlaceActive)
282
if (Host.
ActiveXState
> WebBrowserHelper.AXState.InPlaceActive)
292
if (Host.
ActiveXState
== WebBrowserHelper.AXState.UIActive)