Exemple #1
0
        /// <summary>
        /// Invoked, when the favorites -page is navigated to and updates
        /// the favorites list if invoked with drag'n'drop URL from the
        /// web-browser.
        /// </summary>
        /// <param name="e"></param>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            string parameter = e.Parameter as string;

            if (!String.IsNullOrEmpty(parameter))
            {
                YtWebInterface webIf = new YtWebInterface();
                webIf.UpdateInfo(parameter);
            }
        }