public void Initialize()
        {
            AlwaysHandleDefaultFlyout = true;

            airplaneModeControl = new AirplaneModeControl();

            PrimaryContent = airplaneModeControl;

            OnEnabled();
        }
Пример #2
0
        public void Initialize()
        {
            AlwaysHandleDefaultFlyout = true;

            PrimaryContent        = null;
            PrimaryContentVisible = false;

            airplaneModeControl = new AirplaneModeControl();

            SecondaryContent        = airplaneModeControl;
            SecondaryContentVisible = true;

            airplaneModeWatcher = new AirplaneModeWatcher();

            OnEnabled();
        }