Advertisement
Rapptz

Untitled

Feb 19th, 2014
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Navigation;
  8. using Microsoft.Phone.Controls;
  9. using Microsoft.Phone.Shell;
  10. using MiniBrowser.Resources;
  11.  
  12. namespace MiniBrowser
  13. {
  14.     public partial class MainPage : PhoneApplicationPage
  15.     {
  16.         // Constructor
  17.         public MainPage()
  18.         {
  19.             InitializeComponent();
  20.         }
  21.  
  22.         private void Go_Click(object sender, RoutedEventArgs e)
  23.         {
  24.             string site = URL.Text;
  25.             MiniBrowser.Navigate(new Uri(site, UriKind.Absolute));
  26.         }
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement