Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     clsHotels hotels = new clsHotels();
     clsVols vols = new clsVols();
     //label1.Text = hotels.getHotels("Paris", 5, new DateTime(2014,02,07)).Tables[0].Rows[0].ItemArray[0].ToString();
      //label1.Text = vols.getDateVol("Nantes", "Paris").Tables[0].Rows[0].ItemArray[0].ToString();
        // label1.Text = vols.getVilleArrivee("Nantes").Tables[0].Rows[0].ItemArray[0].ToString();
        // label1.Text = vols.getVilleDepart().Tables[0].Rows[0].ItemArray[0].ToString();
     //label1.Text = vols.getVols("Nantes", "Paris", new DateTime(2014, 01, 01)).Tables[0].Rows[0].ItemArray[0].ToString();
 }
 public Service1()
 {
     this.Vols = new libVols.clsVols();
 }
Beispiel #3
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     var tset = comboBox1.SelectedItem;
     clsVols vols = new clsVols();
     // label1.Text = vols.getVilleArrivee((string)tset).Tables[0].Rows[0].ItemArray[0].ToString();
 }