Пример #1
0
 private void buscarHuespedButton_Click(object sender, EventArgs e)
 {
     if (i == 1)
     {
         FormBuscadorDeClientes b = new FormBuscadorDeClientes(1);
         this.Hide();
         b.ShowDialog();
         this.Close();
     }
     else
     {
         FormBuscadorDeClientes b = new FormBuscadorDeClientes();
         this.Hide();
         b.ShowDialog();
         this.Close();
     }
 }
Пример #2
0
 private void buscarHuespedButton_Click(object sender, EventArgs e)
 {
     if (i == 1)
     {
         FormBuscadorDeClientes b = new FormBuscadorDeClientes(1);
         this.Hide();
         b.ShowDialog();
         this.Close();
     }
     else
     {
         FormBuscadorDeClientes b = new FormBuscadorDeClientes();
         this.Hide();
         b.ShowDialog();
         this.Close();
     }
 }
Пример #3
0
 private void VolverButton_Click(object sender, EventArgs e)
 {
     if (x == 0)
     {
         FormMenu inicio = new FormMenu();
         this.Hide();
         inicio.ShowDialog();
         this.Close();
     }
     else if (x == 1)
     {
         FormBuscadorDeClientes listado = new FormBuscadorDeClientes();
         this.Hide();
         listado.ShowDialog();
         this.Close();
     }
 }
Пример #4
0
 private void btnListadoDeClientes_Click(object sender, EventArgs e)
 {
     FormBuscadorDeClientes b = new FormBuscadorDeClientes();
        this.Hide();
        b.ShowDialog();
        this.Close();
 }
Пример #5
0
 private void VolverButton_Click(object sender, EventArgs e)
 {
     if (x == 0)
     {
         FormMenu inicio = new FormMenu();
         this.Hide();
         inicio.ShowDialog();
         this.Close();
     }
     else if (x == 1)
     {
         FormBuscadorDeClientes listado = new FormBuscadorDeClientes();
         this.Hide();
         listado.ShowDialog();
         this.Close();
     }
 }