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