// Class instantiation - Override 1 public Api_Combined(StructuredQuery c_query) { this.g_result = new StructuredResult(); this.g_google = this.RegGoogle(); this.g_gaura = this.RegGAura(); this.g_ggh = this.RegGGh(); this.g_gkey = this.RegGKey(); this.g_live = this.RegLive(); this.g_lgh = this.RegLGH(); this.g_lkey = this.RegLKey(); this.g_yahoo = this.RegYahoo(); this.g_ygh = this.RegYGH(); this.g_ykey = this.RegYKey(); this.g_query = c_query; this.g_result = new StructuredResult(); }
private void button1_Click(object sender, EventArgs e) { StructuredQuery the_q = new StructuredQuery(textBox1.Text, 0, 10, false); Api_Combined the_api = new Api_Combined(the_q); StructuredResult the_r = the_api.GetTheResults(); }