Ejemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     WebCrawer myWebCrawer = new WebCrawer(this);
     myWebCrawer.craw();
     myWebCrawer.weatherCraw();
     myWebCrawer.govCraw();
     comboBox3.TextChanged += ComboBox3_TextChanged;
 }
Ejemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     WebCrawer myWebCrawer = new WebCrawer(this);
     if (comboBox2.SelectedValue == null)
     {
         MessageBox.Show("無Key!!");
     }
     else
     {
         myWebCrawer.weatherCraw(new string[] { comboBox2.Text, comboBox2.SelectedValue.ToString() });
     }
 }