示例#1
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            var rh = new RegistarHabitacao();

            rh.MdiParent = IGE.ActiveForm;
            rh.Show();
        }
示例#2
0
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            RegistarHabitacao regist = new RegistarHabitacao();

            regist.ShowDialog();
        }