TransitionUpTo() private méthode

private TransitionUpTo ( ActiveXHelper.ActiveXState state ) : void
state ActiveXHelper.ActiveXState
Résultat void
Exemple #1
0
        // Token: 0x06006199 RID: 24985 RVA: 0x001B5E4C File Offset: 0x001B404C
        private static void OnGotFocus(object sender, KeyboardFocusChangedEventArgs e)
        {
            ActiveXHost activeXHost = sender as ActiveXHost;

            if (activeXHost != null)
            {
                Invariant.Assert(activeXHost.ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
                if (activeXHost.ActiveXState < ActiveXHelper.ActiveXState.UIActive)
                {
                    activeXHost.TransitionUpTo(ActiveXHelper.ActiveXState.UIActive);
                }
            }
        }