67 references to AXState
System.Windows.Forms (67)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1400
TransitionUpTo(WebBrowserHelper.
AXState
.InPlaceActive);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (59)
34
private WebBrowserHelper.
AXState
_axState = WebBrowserHelper.
AXState
.Passive;
35
private WebBrowserHelper.
AXState
_axReloadingState = WebBrowserHelper.
AXState
.Passive;
195
if (ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive)
423
if (ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive)
442
TransitionDownTo(WebBrowserHelper.
AXState
.Running);
468
TransitionUpTo(WebBrowserHelper.
AXState
.InPlaceActive);
478
TransitionUpTo(WebBrowserHelper.
AXState
.InPlaceActive);
486
if (ActiveXState < WebBrowserHelper.
AXState
.UIActive)
488
TransitionUpTo(WebBrowserHelper.
AXState
.UIActive);
502
TransitionDownTo(WebBrowserHelper.
AXState
.InPlaceActive);
516
return ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive && base.CanSelectCore();
561
TransitionDownTo(WebBrowserHelper.
AXState
.Passive);
571
internal WebBrowserHelper.
AXState
ActiveXState
583
internal void TransitionUpTo(WebBrowserHelper.
AXState
state)
598
case WebBrowserHelper.
AXState
.Passive:
600
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Failed transition");
602
case WebBrowserHelper.
AXState
.Loaded:
604
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Running, "Failed transition");
606
case WebBrowserHelper.
AXState
.Running:
608
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Failed transition");
610
case WebBrowserHelper.
AXState
.InPlaceActive:
612
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.UIActive, "Failed transition");
627
internal void TransitionDownTo(WebBrowserHelper.
AXState
state)
639
case WebBrowserHelper.
AXState
.UIActive:
641
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Failed transition");
643
case WebBrowserHelper.
AXState
.InPlaceActive:
645
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Running, "Failed transition");
647
case WebBrowserHelper.
AXState
.Running:
649
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Failed transition");
651
case WebBrowserHelper.
AXState
.Loaded:
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)
855
ActiveXState = WebBrowserHelper.
AXState
.Loaded;
864
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Wrong start state to transition from");
865
if (ActiveXState == WebBrowserHelper.
AXState
.Loaded)
887
ActiveXState = WebBrowserHelper.
AXState
.Passive;
893
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Wrong start state to transition from");
894
if (ActiveXState == WebBrowserHelper.
AXState
.Loaded)
912
ActiveXState = WebBrowserHelper.
AXState
.Running;
918
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Running, "Wrong start state to transition from");
919
if (ActiveXState == WebBrowserHelper.
AXState
.Running)
931
ActiveXState = WebBrowserHelper.
AXState
.Loaded;
937
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.Running, "Wrong start state to transition from");
938
if (ActiveXState == WebBrowserHelper.
AXState
.Running)
953
ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
959
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Wrong start state to transition from");
960
if (ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive)
974
ActiveXState = WebBrowserHelper.
AXState
.Running;
980
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Wrong start state to transition from");
981
if (ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive)
994
ActiveXState = WebBrowserHelper.
AXState
.UIActive;
1000
Debug.Assert(ActiveXState == WebBrowserHelper.
AXState
.UIActive, "Wrong start state to transition from");
1001
if (ActiveXState == WebBrowserHelper.
AXState
.UIActive)
1007
ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
1224
if (_axReloadingState != WebBrowserHelper.
AXState
.Passive && _axReloadingState != _axState)
1235
_axReloadingState = WebBrowserHelper.
AXState
.Passive;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (7)
186
if (Host.ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive)
232
Host.ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
240
Host.ActiveXState = WebBrowserHelper.
AXState
.UIActive;
283
if (Host.ActiveXState > WebBrowserHelper.
AXState
.InPlaceActive)
285
Host.ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
293
if (Host.ActiveXState == WebBrowserHelper.
AXState
.UIActive)
299
Host.ActiveXState = WebBrowserHelper.
AXState
.Running;