public Fetcher(FormDeparturesN form, String line, String station, String direction) { this.departuresform=form; this.line = line; this.station = station; this.direction = direction; setNowUrl(); }
protected virtual void run_Click(object sender, EventArgs e) { String station = (String)stations_mem[comboBox1.Text]; String direction = comboBox2.Text; FormDeparturesN depart = new FormDeparturesN(this, favline, station, comboBox1.Text, direction); depart.Show(); this.Hide(); }