예제 #1
0
파일: FormMenu.cs 프로젝트: Guidobere/aefi
 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();
     }
 }