Пример #1
0
        private void ShowFrmRoomAddOrModify(HandleStatus status, RoomInfo room)
        {
            this.Hide();
            FrmRoomAddOrModify fraom = FrmRoomAddOrModify.Single(status, room);

            fraom.FormClosed += fraom_FormClosed;
            fraom.Show();
        }
Пример #2
0
        private void ShowFrmRoomAddOrModify(int temp, RoomInfo room)
        {
            this.Hide();
            FrmRoomAddOrModify frm = FrmRoomAddOrModify.Single(temp, room);

            frm.FormClosed += frm_FormClosed;
            frm.Show();
        }
Пример #3
0
        private void ShowFrmRoomAddOrModify(int temp, RoomInfo room)
        {
            this.Hide();//不是关闭是隐藏  不是close!!
            FrmRoomAddOrModify fram = FrmRoomAddOrModify.Single(temp, room);

            //     fram.Show();  不是写在这里
            fram.FormClosed += new FormClosedEventHandler(fram_FormClose);
            fram.Show();
        }