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