Beispiel #1
0
        private void btn_EditRoom_Click(object sender, EventArgs e)
        {
            EditRoom editRoom = new EditRoom();

            editRoom.room = data;
            editRoom.ShowDialog();
        }
        private void btn_EditRoom_Click(object sender, EventArgs e)
        {
            ((Form)TopLevelControl).Hide();
            EditRoom editRoom = new EditRoom();

            editRoom.room = data;
            editRoom.ShowDialog();
            ((Form)TopLevelControl).Close();
        }