private void alta_Click(object sender, EventArgs e) { dtHab.Clear(); this.Hide(); AltaHabitacion f1 = new AltaHabitacion(idH); f1.ShowDialog(); this.Show(); }
private void button2_Click(object sender, EventArgs e) { AltaHabitacion alta = new AltaHabitacion(); this.Hide(); alta.ShowDialog(); this.Show(); if (alta.Result == DialogResult.OK) { RefreshData(); } }