private void HamburgerMenu_SplitViewMenuLoaded(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(_arguments))
     {
         CoreWindowLogic.LoadAppWithArguments(_arguments);
     }
 }
Exemple #2
0
        /// <summary>
        /// Invoked when the application is launched normally by the end user.  Other entry points
        /// will be used such as when the application is launched to open a specific file.
        /// </summary>
        /// <param name="e">Details about the launch request and process.</param>
        protected override void OnLaunched(LaunchActivatedEventArgs e)
        {
            _sessionWatch = Stopwatch.StartNew();
            BLogger.I("App launched and session started...");
#if DEBUG
            if (Debugger.IsAttached)
            {
                DebugSettings.EnableFrameRateCounter = true;
            }
#endif
            if (e.PreviousExecutionState != ApplicationExecutionState.Running)
            {
                LoadFrame(e, e.Arguments);
            }
            else if (e.PreviousExecutionState == ApplicationExecutionState.Running)
            {
                CoreWindowLogic.LoadAppWithArguments(e.Arguments);
            }
        }