示例#1
0
 private void btnGestorDeHabitaciones_Click(object sender, EventArgs e)
 {
     FormNuevaHabitacion lh = new FormNuevaHabitacion();
        this.Hide();
        lh.ShowDialog();
        this.Close();
 }
示例#2
0
 private void btnModificiar_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in dgvHabitaciones.SelectedRows)
     {
         FormNuevaHabitacion alta = new FormNuevaHabitacion(1, row.Cells);
         this.Hide();
         alta.ShowDialog();
         this.Close();
     }
 }