Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Trip.country = comboBox1.Text;

            DateTrip f2 = new DateTrip();

            this.Hide();
            f2.ShowDialog();
        }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     DateTrip f2 = new DateTrip();
     this.Hide();
     f2.Show();
 }