private void pictureBox2_Click(object sender, EventArgs e) { var rh = new RegistarHabitacao(); rh.MdiParent = IGE.ActiveForm; rh.Show(); }
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { RegistarHabitacao regist = new RegistarHabitacao(); regist.ShowDialog(); }