67 references to AXState
System.Windows.Forms (67)
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1667
TransitionUpTo(WebBrowserHelper.
AXState
.InPlaceActive);
winforms\Managed\System\WinForms\WebBrowserBase.cs (59)
59
private WebBrowserHelper.
AXState
axState = WebBrowserHelper.
AXState
.Passive;
60
private WebBrowserHelper.
AXState
axReloadingState = WebBrowserHelper.
AXState
.Passive;
254
if (this.ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive) {
490
if (this.ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive) {
506
TransitionDownTo(WebBrowserHelper.
AXState
.Running);
531
TransitionUpTo(WebBrowserHelper.
AXState
.InPlaceActive);
540
TransitionUpTo(WebBrowserHelper.
AXState
.InPlaceActive);
548
if (this.ActiveXState < WebBrowserHelper.
AXState
.UIActive) {
549
TransitionUpTo(WebBrowserHelper.
AXState
.UIActive);
562
TransitionDownTo(WebBrowserHelper.
AXState
.InPlaceActive);
575
return this.ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive ?
629
TransitionDownTo(WebBrowserHelper.
AXState
.Passive);
650
internal WebBrowserHelper.
AXState
ActiveXState {
671
internal void TransitionUpTo(WebBrowserHelper.
AXState
state) {
678
case WebBrowserHelper.
AXState
.Passive:
680
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Failed transition");
682
case WebBrowserHelper.
AXState
.Loaded:
684
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Running, "Failed transition");
686
case WebBrowserHelper.
AXState
.Running:
688
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Failed transition");
690
case WebBrowserHelper.
AXState
.InPlaceActive:
692
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.UIActive, "Failed transition");
707
internal void TransitionDownTo(WebBrowserHelper.
AXState
state) {
714
case WebBrowserHelper.
AXState
.UIActive:
716
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Failed transition");
718
case WebBrowserHelper.
AXState
.InPlaceActive:
720
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Running, "Failed transition");
722
case WebBrowserHelper.
AXState
.Running:
724
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Failed transition");
726
case WebBrowserHelper.
AXState
.Loaded:
728
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Passive, "Failed transition");
909
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Passive, "Wrong start state to transition from");
910
if (this.ActiveXState == WebBrowserHelper.
AXState
.Passive) {
919
this.ActiveXState = WebBrowserHelper.
AXState
.Loaded;
929
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Wrong start state to transition from");
930
if (this.ActiveXState == WebBrowserHelper.
AXState
.Loaded) {
953
this.ActiveXState = WebBrowserHelper.
AXState
.Passive;
958
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Loaded, "Wrong start state to transition from");
959
if (this.ActiveXState == WebBrowserHelper.
AXState
.Loaded) {
980
this.ActiveXState = WebBrowserHelper.
AXState
.Running;
985
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Running, "Wrong start state to transition from");
986
if (this.ActiveXState == WebBrowserHelper.
AXState
.Running) {
1002
this.ActiveXState = WebBrowserHelper.
AXState
.Loaded;
1007
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.Running, "Wrong start state to transition from");
1008
if (this.ActiveXState == WebBrowserHelper.
AXState
.Running) {
1022
this.ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
1027
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Wrong start state to transition from");
1028
if (this.ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive) {
1043
this.ActiveXState = WebBrowserHelper.
AXState
.Running;
1048
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive, "Wrong start state to transition from");
1049
if (this.ActiveXState == WebBrowserHelper.
AXState
.InPlaceActive) {
1059
this.ActiveXState = WebBrowserHelper.
AXState
.UIActive;
1064
Debug.Assert(this.ActiveXState == WebBrowserHelper.
AXState
.UIActive, "Wrong start state to transition from");
1065
if (this.ActiveXState == WebBrowserHelper.
AXState
.UIActive) {
1070
this.ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
1369
if (axReloadingState != WebBrowserHelper.
AXState
.Passive && axReloadingState != axState) {
1376
axReloadingState = WebBrowserHelper.
AXState
.Passive;
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (7)
225
if (this.Host.ActiveXState >= WebBrowserHelper.
AXState
.InPlaceActive) {
286
this.Host.ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
294
this.Host.ActiveXState = WebBrowserHelper.
AXState
.UIActive;
332
if (this.Host.ActiveXState > WebBrowserHelper.
AXState
.InPlaceActive) {
333
this.Host.ActiveXState = WebBrowserHelper.
AXState
.InPlaceActive;
341
if (this.Host.ActiveXState == WebBrowserHelper.
AXState
.UIActive) {
346
this.Host.ActiveXState = WebBrowserHelper.
AXState
.Running;