using System;
using System.Windows;
using Microsoft.Phone.Controls;

namespace Controls.Pages
{
    public partial class WebBrowserPage : PhoneApplicationPage
    {
        //private WebBrowser myWebBrowser;

        public WebBrowserPage()
        {
            InitializeComponent();

            // WebBrowser Steuerelement mit Bing Adresse initialisieren
            //myWebBrowser = new WebBrowser();
            //myWebBrowser.Margin = new Thickness(12, 6, 0, 0);
            //myWebBrowser.Height = 424;
            //myWebBrowser.Width = 438;
            //myWebBrowser.Source = new Uri("http://www.bing.de");
            
            //ContentPanel.Children.Add(myWebBrowser);
        }

        private void btnMicrosoft_Click(object sender, RoutedEventArgs e)
        {
            // zur Microsoft Webseite navigieren
            myWebBrowser.Navigate(new Uri("http://www.microsoft.de"));
        }
    }
}