private void Widok_OnFrameDOMContentLoaded(WebView sender, WebViewDOMContentLoadedEventArgs args)
        {
            string html = Widok.InvokeScript("eval", new string[] { "document.documentElement.textContent;" });

            if (html.StartsWith("!OUTPUT!"))
            {
                var liczba = float.Parse(html.Substring(8));
                Zaplata.Content = liczba;
            }
        }
Exemplo n.º 2
0
 public void PrzelaczWidok(Widok widok, int index = -1)
 {
     if (widok == Widok.LISTA)
     {
         contentControl.Content = _lista;
         _lista.AktualizujListe();
     }
     else
     {
         contentControl.Content = new Rozmowa.Glowny(this, index);
     }
 }