Exemple #1
0
        private void ShowNews()
        {
            var mode = XRay.InitComplete ? "viewer" : "builder";
            var url  = string.Format("http://static.codeperspective.com/client/update.html?Mode={0}&Version={1}&Pro={2}", mode, XRay.BuilderVersion, Pro.Verified);

            NewsBrowser.Navigate(url);
        }
Exemple #2
0
 void SetNews(JObject data)
 {
     if (data == null)
     {
         return;
     }
     NewsBrowser.Navigate("about:blank");
     if (NewsBrowser.Document != null)
     {
         NewsBrowser.Document.Write(string.Empty);
     }
     NewsBrowser.DocumentText = data.Value <string>("html");
 }