asked on
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
namespace Flight_Check
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void Search_Click(object sender, EventArgs e)
{
WebClient web = new WebClient();
string StartingURL = "http://www.sydneyairport.com.au/flights/flight-arrivals-and-departures/airport-visit-planner/cairns/";
string Url = web.DownloadString(StartingURL + FN.Text + "/0");
MatchCollection ml = Regex.Matches(Url, @"", RegexOptions.Singleline);
FN.Text = Url;
MessageBox.Show (Url);
}
}
}