コード例 #1
0
        public void Initialize()
        {
            AlwaysHandleDefaultFlyout = true;

            airplaneModeControl = new AirplaneModeControl();

            PrimaryContent = airplaneModeControl;

            airplaneModeWatcher = new AirplaneModeWatcher();

            OnEnabled();
        }
コード例 #2
0
        public void Initialize()
        {
            AlwaysHandleDefaultFlyout = true;

            PrimaryContent        = null;
            PrimaryContentVisible = false;

            airplaneModeControl = new AirplaneModeControl();

            SecondaryContent        = airplaneModeControl;
            SecondaryContentVisible = true;

            airplaneModeWatcher = new AirplaneModeWatcher();

            OnEnabled();
        }