示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Reservacion rese = new Reservacion();

            rese.obtieneUsuario(textBox1);
            rese.ShowDialog();
            Principal_Load(sender, e);
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            Reservacion reservar = new Reservacion();

            //metodo envia datos
            reservar.obtieneUsuario(textBox1);
            reservar.reciveDatos(textBox2, textBox6, textBox3, comboBox2, textBox5, comboBox3);
            reservar.ShowDialog();
        }