private void button3_Click(object sender, EventArgs e) { Reservacion rese = new Reservacion(); rese.obtieneUsuario(textBox1); rese.ShowDialog(); Principal_Load(sender, e); }
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(); }