예제 #1
0
 private void Button_Follow_CheckURLValid()
 {
     if (URLExtensions.Valid(TextBox.Text))
     {
         Button_Follow.Enabled = true;
     }
     else
     {
         Button_Follow.Enabled = false;
     }
 }
예제 #2
0
 private void Button_Follow_Click(object Sender, EventArgs Args)
 {
     URLExtensions.Follow(TextBox.Text);
 }
예제 #3
0
 private void Button_GoogleMaps_Click(object Sender, EventArgs Args)
 {
     URLExtensions.Follow(string.Format("http://maps.google.com/?q={0}", Uri.EscapeDataString(TextBox.Text)));
 }