Example #1
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FilterVoucher filter = new FilterVoucher(this);

            #region
            filter.comboBox2.SelectedItem = CountryB;
            filter.comboBox7.SelectedItem = CountryA;
            filter.comboBox3.SelectedItem = CityB;
            filter.comboBox6.SelectedItem = CityA;
            filter.comboBox1.SelectedItem = HotelB;
            filter.comboBox9.SelectedItem = Airport;
            filter.dateTimePicker1.Value  = DateA;
            filter.dateTimePicker2.Value  = DateB;
            filter.textBox3.Text          = CountPeople + "";
            filter.textBox1.Text          = NightsA + "";
            filter.textBox2.Text          = NightsB + "";
            filter.Show();
            #endregion
        }
Example #2
0
        private void SearchVouchers_Load(object sender, EventArgs e)
        {
            FilterVoucher f = new FilterVoucher(this);

            f.Show();
        }